Class TreeGridHeaderCell
Represents a header cell in the SfTreeGrid control.
Inheritance
System.Object
Syncfusion.Maui.Core.Internals.DataGridCellBase
TreeGridHeaderCell
Implements
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
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
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