ControlTemplate checkbox issue
I've开发者_运维知识库 a checkbox controltemplate column in wpf datagrid, when I check few checkboxes and scroll, the selections get messed up.
I know its because the repeating visual component is kind of reused. But how to fix the problem?
Add the following to the datagrid in the XAML:
VirtualizingStackPanel.VirtualizationMode="Standard"
精彩评论