Class DataGrid
A DataGrid control that displays data in rows and columns and allows for the entering and editing of data.
[StyleTypedProperty(Property = "CheckBoxColumnElementStyle", StyleTargetType = typeof(CheckBox))]
[StyleTypedProperty(Property = "CheckBoxColumnEditingElementStyle", StyleTargetType = typeof(CheckBox))]
public class DataGrid : DataGrid, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage
- Inheritance
-
DataGrid
- Implements
- Inherited Members
Fields
CheckBoxColumnEditingElementStyleProperty
Identifies the CheckBoxColumnEditingElementStyle dependency property.
public static readonly DependencyProperty CheckBoxColumnEditingElementStyleProperty
Field Value
CheckBoxColumnElementStyleProperty
Identifies the CheckBoxColumnElementStyle dependency property.
public static readonly DependencyProperty CheckBoxColumnElementStyleProperty
Field Value
Properties
CheckBoxColumnEditingElementStyle
Gets or sets the style for all the column checkboxes in the DataGrid
public Style? CheckBoxColumnEditingElementStyle { get; set; }
Property Value
CheckBoxColumnElementStyle
Gets or sets the style which is applied to all checkbox column in the DataGrid
public Style? CheckBoxColumnElementStyle { get; set; }
Property Value
Methods
OnInitialized(EventArgs)
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
protected override void OnInitialized(EventArgs e)
Parameters
e
EventArgsThe RoutedEventArgs that contains the event data.