Class TreeGridHeaderCell
Represents a header cell in the SfTreeGrid control.
Implements
IDrawable
IAbsoluteLayout
ILayout
IView
IElement
ITransform
IContainer
IList<IView>
ICollection<IView>
IEnumerable<IView>
ISafeAreaView
IPadding
ICrossPlatformLayout
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
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
Microsoft.Maui.ISafeAreaView
Microsoft.Maui.IPadding
Microsoft.Maui.ICrossPlatformLayout
Microsoft.Maui.IVisualTreeElement