Answer the question
In order to leave comments, you need to log in
How to update UI element in win store app?
There is an array of objects, the object has 2 properties: color and identifier
. Elements (for example, squares) are displayed on the screen, each square corresponds to an object in the array, the color of the square corresponds to the color of the object.
When the application is launched, the N-th number of processes should be launched, each of the processes in an arbitrary period of time changes the color (to random) of an arbitrary object and, accordingly, this should be reflected on the screen. Processes can change colors until some condition is met.
And now the question is:
1. Is this behavior possible in an application under windows 8.1?
2. If the answer to the first question is "Yes", then what is the approximate architecture of the application, how should the array elements and UI elements be connected, if this is a binding, then how to change the bound property from the background thread?
PS. It is just a few background processes that are important. Each of which creates tasks to change the color, upon completion of the task, the value of the color property changes and the color of the associated element changes. The number of array elements as well as the number of threads (processes) can be any.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question