modified datagrid style
RowHeight, ColumnHeaderHeight, ShowSelectAllButton
This commit is contained in:
1 parent
1938e74d02
commit
b7e08aec23
8 files changed
+132
-17
No files matched your search
@@ -336,5 +336,14 @@ namespace HandyControl.Controls
|
||||
|
||||
public static bool GetCanUnselectAllWithBlankArea(DependencyObject element)
|
||||
=> (bool) element.GetValue(CanUnselectAllWithBlankAreaProperty);
|
||||
|
||||
public static readonly DependencyProperty ShowSelectAllButtonProperty = DependencyProperty.RegisterAttached(
|
||||
"ShowSelectAllButton", typeof(bool), typeof(DataGridAttach), new PropertyMetadata(ValueBoxes.TrueBox));
|
||||
|
||||
public static void SetShowSelectAllButton(DependencyObject element, bool value)
|
||||
=> element.SetValue(ShowSelectAllButtonProperty, value);
|
||||
|
||||
public static bool GetShowSelectAllButton(DependencyObject element)
|
||||
=> (bool) element.GetValue(ShowSelectAllButtonProperty);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user