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))]
[StyleTypedProperty(Property = "ComboBoxColumnElementStyle", StyleTargetType = typeof(ComboBox))]
[StyleTypedProperty(Property = "ComboBoxColumnEditingElementStyle", StyleTargetType = typeof(ComboBox))]
[StyleTypedProperty(Property = "TextColumnElementStyle", StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = "TextColumnEditingElementStyle", StyleTargetType = typeof(TextBox))]
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
ComboBoxColumnEditingElementStyleProperty
Identifies the ComboBoxColumnEditingElementStyle dependency property.
public static readonly DependencyProperty ComboBoxColumnEditingElementStyleProperty
Field Value
ComboBoxColumnElementStyleProperty
Identifies the ComboBoxColumnElementStyle dependency property.
public static readonly DependencyProperty ComboBoxColumnElementStyleProperty
Field Value
TextColumnEditingElementStyleProperty
Identifies the TextColumnEditingElementStyle dependency property.
public static readonly DependencyProperty TextColumnEditingElementStyleProperty
Field Value
TextColumnElementStyleProperty
Identifies the TextColumnElementStyle dependency property.
public static readonly DependencyProperty TextColumnElementStyleProperty
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
ComboBoxColumnEditingElementStyle
Gets or sets the style for all the column comboboxes in the DataGrid
public Style? ComboBoxColumnEditingElementStyle { get; set; }
Property Value
ComboBoxColumnElementStyle
Gets or sets the style which is applied to all combobox column in the DataGrid
public Style? ComboBoxColumnElementStyle { get; set; }
Property Value
TextColumnEditingElementStyle
Gets or sets the style for all the column textboxes in the DataGrid
public Style? TextColumnEditingElementStyle { get; set; }
Property Value
TextColumnElementStyle
Gets or sets the style which is applied to all textbox column in the DataGrid
public Style? TextColumnElementStyle { 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.