Hello,
AFAIK, virtualization in WPF Datagrid is turned on by default; but I am not seeing that is the case in my application.
From WindDbg, it looks like the application is trying to draw all the data grid cells. Is there anything else that I need to do to enable virtualization?
Any suggestions on how to figure out why virtualization is disabled?
Ty much,
Augustine
!dumpheap -stat
...
65deb504 84270 29325960 System.Windows.Controls.TextBlock
65df45a0 140167 35882752 System.Windows.Controls.DataGridCell
..
65dea4dc 224512 56577024 System.Windows.Controls.ContentPresenter
..
XAML:
<Grid>
<DataGrid RowHeaderWidth="43" MinRowHeight="24" CanUserResizeRows="False" CanUserAddRows="True"
AutoGenerateColumns="False" EnableRowVirtualization="True" RowDetailsVisibilityMode="Collapsed"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True"