Hi
I have a WPF Grid and a list of values. The list of values have a row and column property and the content value. There are between 200 and 14,000 values to be displayed in a formatted grid.
I have added rows and columns to the grid then added text blocks to the grid in the correct row/column positions.
This works great till I have around 8,000 values then it slows down. To remedy I put it out to a thread to perform the layout, problem is, my TextBlocks are created on one thread then when I try to add them to the Children member of the Grid using the UI dispatcher the text block is on a different thread.
So the question is, can I switch the thread affinity of the Textblocks to the UI thread after I've created them?
Thanks Owen