alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeGridHeaderCell

    Represents a header cell in the SfTreeGrid control.

    Inheritance
    System.Object
    SfView
    Syncfusion.Maui.Core.Internals.DataGridCellBase
    TreeGridCell
    TreeGridHeaderCell
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Inherited Members
    SfView.ArrangeContent(Rect)
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(Double, Double)
    SfView.IDrawableLayout.DrawingOrder
    SfView.IDrawableLayout.InvalidateDrawable()
    SfView.MeasureContent(Double, Double)
    SfView.MeasureOverride(Double, Double)
    SfView.OnBindingContextChanged()
    SfView.OnHandlerChanged()
    TreeGridCell.Background
    TreeGridCell.BackgroundProperty
    TreeGridCell.CellValue
    TreeGridCell.ColumnIndex
    TreeGridCell.DataColumn
    TreeGridCell.FontAttributes
    TreeGridCell.FontAttributesProperty
    TreeGridCell.FontAutoScalingEnabled
    TreeGridCell.FontFamily
    TreeGridCell.FontFamilyProperty
    TreeGridCell.FontSize
    TreeGridCell.FontSizeProperty
    TreeGridCell.OnDraw(ICanvas, RectF)
    TreeGridCell.Padding
    TreeGridCell.PaddingProperty
    TreeGridCell.RowIndex
    TreeGridCell.TextAlignment
    TreeGridCell.TextAlignmentProperty
    TreeGridCell.TextColor
    TreeGridCell.TextColorProperty
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridHeaderCell : TreeGridCell, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider, ITextElement, ITapGestureListener, IDoubleTapGestureListener, IGestureListener
    Remarks

    The header cell hosts a grid layout (Syncfusion.Maui.TreeGrid.TreeGridHeaderView) whose columns hold the header text, the sort icon, and the sort order number badge. The cell also listens for tap and double-tap gestures and triggers sorting based on the SortingGestureType.

    Constructors

    TreeGridHeaderCell()

    Initializes a new instance of the TreeGridHeaderCell class.

    Declaration
    public TreeGridHeaderCell()

    Properties

    TreeGridColumn

    Gets the TreeGridColumn associated with this header cell.

    Declaration
    public TreeGridColumn TreeGridColumn { get; }
    Property Value
    Type
    TreeGridColumn

    Methods

    MakeSort()

    Sort the data of a column against the user tap on a column header.

    Declaration
    protected void MakeSort()

    UpdateSortViews()

    Updates the sort icon, sort direction and sort order number of the header cell based on the current SortColumnDescriptions state.

    Declaration
    public void UpdateSortViews()

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved