Quantcast
Viewing all articles
Browse latest Browse all 18858

DataGrid Sorting a cell destruction

Hi,

I'm having a problem when sorting a grid because it appears that WPF rebuilds all the cells in the grid and consequently regenerates a particular RTF control which uses a MemoryStream which can take a while to encode. This is not so bad when the window is first displayed, but very annoying when it is regenrated each time any of the sorting columns is selected and the whole grid is regenerated. Is there anyway to force the grid to cache the grids when sorting?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>