我有一个带有一个CheckBoxColumn的DataGrid。在该CheckBoxColumn的标题中,我添加了一个CheckBox来选择该Datagrid行的所有CheckBoxes。我的WPFdataGrid的XAML代码:
<DataGrid AutoGenerateColumns="False" Ca
正如我们都看到的,我希望能够单击标题复选框,并让它选择下面的所有复选框。= ControlHelpers.CheckBoxes.ToggleCheckBox(sender, e, null); c.Indeterminate += new RoutedEventHandler(DataGridHeader_Indeterminate);
我所有</em