Class GridRowHeaderCell
Represents a class that provides common functionalities of RowHeaderCells in SfDataGrid.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridRowHeaderCell : GridCell, IDisposable
Constructors
GridRowHeaderCell()
Initializes a new instance of GridRowHeaderCell class.
Declaration
public GridRowHeaderCell()
Fields
RowErrorMessageProperty
Dependency registration for the RowErrorMessage propery.
Declaration
public static readonly DependencyProperty RowErrorMessageProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
RowIndexProperty
Dependency registration for RowIndex property.
Declaration
public static readonly DependencyProperty RowIndexProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
Properties
RowErrorMessage
Gets or sets row validation error message.
Declaration
public string RowErrorMessage { get; set; }
Property Value
| Type |
|---|
| System.String |
Remarks
error message displayed while hover RowHeaderCell.
RowIndex
Gets or sets RowIndex of the cell.
Declaration
public int RowIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
can be used to number the row like excel
Methods
ApplyVisualState()
Applies the visual state for the current cell.
Declaration
public void ApplyVisualState()
OnApplyTemplate()
Invoked to apply template for GridRowHeaderCell.
Declaration
protected override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Returns a class-specific AutomationPeer Implementations for the Microsoft UI Automation infrastrucutre.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
| Type | Description |
|---|---|
| Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | The class-specific AutomationPeer subclass. |
Overrides
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Called before the Double tapped event occurs.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e |
Overrides
OnTapped(TappedRoutedEventArgs)
Called before the Tapped event occurs
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.TappedRoutedEventArgs | e |
Overrides
Implements
System.IDisposable