Class DataGridHeaderCell
Represents a header cell in a SfDataGrid control.
Inheritance
System.Object
Syncfusion.Maui.Core.Internals.DataGridCellBase
DataGridHeaderCell
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
System.IDisposable
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridHeaderCell : DataGridCell, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider, IDisposable, ITapGestureListener, IDoubleTapGestureListener, ILongPressGestureListener, ITextElement, IRightTapGestureListener, IGestureListener, ITouchListener
Constructors
DataGridHeaderCell()
Initializes a new instance of the DataGridHeaderCell class.
Declaration
public DataGridHeaderCell()
Properties
DataGridColumn
Gets the DataGridColumn associated with the header cell, where grid column represents each column in the SfDataGrid.
Declaration
public DataGridColumn DataGridColumn { get; }
Property Value
Type | Description |
---|---|
DataGridColumn | The DataGridColumn associated with the header cell. |
SortColumn
Gets the column that represents sorting in the Columns collection, which contains the columns in the SfDataGrid.
Declaration
public string SortColumn { get; }
Property Value
Type |
---|
System.String |
SortDirection
Gets or sets the sort direction of the associated DataGridColumn which is sorted.
Declaration
public Nullable<ListSortDirection> SortDirection { get; set; }
Property Value
Type |
---|
System.Nullable<System.ComponentModel.ListSortDirection> |
Methods
MakeSort()
Sort the data of a column against the user tap on a column header.
Declaration
protected void MakeSort()
UpdateSortViews()
Updates the header cell components of a column.
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
System.IDisposable