Hi!
In my WPF application, I have a boolean property which I would like to show to the user (for example with a read-only checkbox). Normally I would implement INotifyPropertyChanged so WPF can act on that and change the checkbox accordingly.
The problem I am having right now is that this property value is retrieved from a closed framework. That means, I can only poll the value, but there is no change-event I can subscribe to.
My first thought was to create a seperate thread, which periodically (say every 10 milliseconds) polls the value and creates an event when the value has changed. But that seems like overkill to me.
So my question is: is there a feature in WPF for displaying changing values where INotifyPropertyChanged is not an option? Some sort of poll mechanism, maybe? If not, how would you tackle this problem?
Thanks for your time.