DataGridCell Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an individual DataGrid cell.
[Windows.UI.Xaml.TemplatePart(Name="RightGridLine", Type=typeof(Windows.UI.Xaml.Shapes.Rectangle))]
[Windows.UI.Xaml.TemplateVisualState(GroupName="CommonStates", Name="Normal")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="CommonStates", Name="PointerOver")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="SelectionStates", Name="Unselected")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="SelectionStates", Name="Selected")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="CurrentStates", Name="Regular")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="CurrentStates", Name="Current")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="CurrentStates", Name="CurrentWithFocus")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="InteractionStates", Name="Display")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="InteractionStates", Name="Editing")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="ValidationStates", Name="Invalid")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="ValidationStates", Name="Valid")]
public sealed class DataGridCell : Windows.UI.Xaml.Controls.ContentControl
[<Windows.UI.Xaml.TemplatePart(Name="RightGridLine", Type=typeof(Windows.UI.Xaml.Shapes.Rectangle))>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="CommonStates", Name="Normal")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="CommonStates", Name="PointerOver")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="SelectionStates", Name="Unselected")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="SelectionStates", Name="Selected")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="CurrentStates", Name="Regular")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="CurrentStates", Name="Current")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="CurrentStates", Name="CurrentWithFocus")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="InteractionStates", Name="Display")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="InteractionStates", Name="Editing")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="ValidationStates", Name="Invalid")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="ValidationStates", Name="Valid")>]
type DataGridCell = class
inherit ContentControl
Public NotInheritable Class DataGridCell
Inherits ContentControl
- Inheritance
-
Windows.UI.Xaml.Controls.ContentControlDataGridCell
- Attributes
-
Windows.UI.Xaml.TemplatePartAttribute Windows.UI.Xaml.TemplateVisualStateAttribute
Constructors
DataGridCell() |
Initializes a new instance of the DataGridCell class. |
Fields
IsValidProperty |
Identifies the IsValid dependency property. |
Properties
IsValid |
Gets a value indicating whether the data in a cell is valid. |