I created the base Metro application for Win 8 using Visual Studio 11 Ultimate in C #.
The problem is that I want to display text that changes dynamically with certain events. An example is an application in which the number is displayed on the screen and increases by 1 with each mouse click.
I use XAML binding to the created data structure, which gets the values ββthat I need to display, but the problem is that when these values ββchange, the numbers displayed in the GUI do not change.
How to link your XAML with dynamically changing data so that the XAML changes in the GUI also change?
Thanks for the help!
- change -
I implemented the INotifyPropertyChanged interface, but now I get an exception from this line of code:
PropertyChanged (this is the new PropertyChangedEventArgs (propertyName));
Here is the exception information:
An application is called an interface that has been configured for another thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
source
share