Table of Contents

Class DataGrid

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

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

DependencyProperty

CheckBoxColumnElementStyleProperty

Identifies the CheckBoxColumnElementStyle dependency property.

public static readonly DependencyProperty CheckBoxColumnElementStyleProperty

Field Value

DependencyProperty

Properties

CheckBoxColumnEditingElementStyle

Gets or sets the style for all the column checkboxes in the DataGrid

public Style? CheckBoxColumnEditingElementStyle { get; set; }

Property Value

Style

CheckBoxColumnElementStyle

Gets or sets the style which is applied to all checkbox column in the DataGrid

public Style? CheckBoxColumnElementStyle { get; set; }

Property Value

Style

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 EventArgs

The RoutedEventArgs that contains the event data.