WinUI

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRowHeaderCell

    Show / Hide Table of Contents

    Class GridRowHeaderCell

    Represents a class that provides common functionalities of RowHeaderCells in SfDataGrid.

    Inheritance
    System.Object
    GridCell
    GridRowHeaderCell
    Implements
    System.IDisposable
    Inherited Members
    GridCell.ErrorMessageProperty
    GridCell.SelectionForegroundProperty
    GridCell.ShowContextFlyout(Point)
    GridCell.ApplyValidationVisualState(Boolean)
    GridCell.OnDataColumnPropertyChanged(String)
    GridCell.OnColumnChanged()
    GridCell.ApplyGridCellVisualStates(String, Boolean)
    GridCell.OnPointerEntered(PointerRoutedEventArgs)
    GridCell.OnPointerPressed(PointerRoutedEventArgs)
    GridCell.OnPointerReleased(PointerRoutedEventArgs)
    GridCell.OnPointerMoved(PointerRoutedEventArgs)
    GridCell.OnHolding(HoldingRoutedEventArgs)
    GridCell.OnRightTapped(RightTappedRoutedEventArgs)
    GridCell.CanSelectCurrentCell()
    GridCell.Dispose(Boolean)
    GridCell.Dispose()
    GridCell.ColumnBase
    GridCell.HasError
    GridCell.ErrorMessage
    GridCell.SelectionForeground
    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 Description
    Microsoft.UI.Xaml.DependencyProperty

    RowIndexProperty

    Dependency registration for RowIndex property.

    Declaration
    public static readonly DependencyProperty RowIndexProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    RowErrorMessage

    Gets or sets row validation error message.

    Declaration
    public string RowErrorMessage { get; set; }
    Property Value
    Type Description
    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 Description
    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
    GridCell.OnApplyTemplate()

    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
    GridCell.OnCreateAutomationPeer()

    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
    GridCell.OnDoubleTapped(DoubleTappedRoutedEventArgs)

    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
    GridCell.OnTapped(TappedRoutedEventArgs)

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved