File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ internal DataGridFilterHost([NotNull] DataGrid dataGrid)
6565
6666 dataGrid . Columns . CollectionChanged += Columns_CollectionChanged ;
6767 dataGrid . Loaded += DataGrid_Loaded ;
68+ dataGrid . CommandBindings . Add ( new CommandBinding ( DataGrid . SelectAllCommand , DataGrid_SelectAll ) ) ;
6869
6970 if ( dataGrid . ColumnHeaderStyle != null )
7071 return ;
@@ -76,8 +77,6 @@ internal DataGridFilterHost([NotNull] DataGrid dataGrid)
7677 newStyle . Setters . Add ( new Setter ( Control . HorizontalContentAlignmentProperty , HorizontalAlignment . Stretch ) ) ;
7778
7879 dataGrid . ColumnHeaderStyle = newStyle ;
79-
80- dataGrid . CommandBindings . Add ( new CommandBinding ( DataGrid . SelectAllCommand , DataGrid_SelectAll ) ) ;
8180 }
8281
8382 /// <summary>
You can’t perform that action at this time.
0 commit comments