Class DataGridRow
Implements data grid row control, storing items and data grid cells
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class DataGridRow : Control
Constructors
DataGridRow()
Initializes a new instance of the DataGridRow class.
Declaration
public DataGridRow()
Fields
CellsProperty
The cells property
Declaration
public static readonly DependencyProperty CellsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ItemProperty
The item property
Declaration
public static readonly DependencyProperty ItemProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Cells
Gets or sets the cells.
Declaration
public List<DataGridCell> Cells { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DataGridCell> | The cells. |
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Item
Gets or sets the item.
Declaration
public object Item { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The item. |
Methods
OnApplyTemplate()
Called when [apply template].
Declaration
public override void OnApplyTemplate()
Overrides
OnMouseDown(MouseButtonEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
OnTouchGesture(TouchGestureEventArgs)
Raises the TouchGesture event.
Declaration
protected override void OnTouchGesture(TouchGestureEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchGestureEventArgs | e | The TouchGestureEventArgs instance containing the event data. |