menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataGridStyle - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataGridStyle

    Represents the style of the SfDataGrid.

    Inheritance
    System.Object
    DataGridStyle
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class DataGridStyle : Element, IThemeElement

    Constructors

    DataGridStyle()

    Initializes a new instance of the DataGridStyle class.

    Declaration
    public DataGridStyle()

    Fields

    AlternateRowBackgroundProperty

    Identifies the AlternateRowBackground Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty AlternateRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CaptionSummaryRowBackgroundProperty

    Identifies the CaptionSummaryRowBackground bindable property.

    Declaration
    public static readonly BindableProperty CaptionSummaryRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CaptionSummaryRowFontAttributesProperty

    Identifies the CaptionSummaryRowFontAttributes bindable property.

    Declaration
    public static readonly BindableProperty CaptionSummaryRowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CaptionSummaryRowFontFamilyProperty

    Identifies the CaptionSummaryRowFontFamily bindable property.

    Declaration
    public static readonly BindableProperty CaptionSummaryRowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CaptionSummaryRowFontSizeProperty

    Identifies the CaptionSummaryRowFontSize bindable property.

    Declaration
    public static readonly BindableProperty CaptionSummaryRowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CaptionSummaryRowTextColorProperty

    Identifies the CaptionSummaryRowTextColor bindable property.

    Declaration
    public static readonly BindableProperty CaptionSummaryRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ColumnDraggingIndicatorLineColorProperty

    Identifies the ColumnDraggingIndicatorLineColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty ColumnDraggingIndicatorLineColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ColumnDragViewBackgroundColorProperty

    Identifies the ColumnDragViewBackgroundColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty ColumnDragViewBackgroundColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ColumnDragViewTextColorProperty

    Identifies the ColumnDragViewTextColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty ColumnDragViewTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ColumnResizingIndicatorColorProperty

    Identifies the ResizingIndicatorColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static BindableProperty ColumnResizingIndicatorColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CurrentCellBorderColorProperty

    Identifies the CurrentCellBorderColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty CurrentCellBorderColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CurrentCellBorderWidthProperty

    Identifies the CurrentCellBorderWidth Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty CurrentCellBorderWidthProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    CurrentRowHighlightColorProperty

    Identifies the CurrentRowHighlightColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty CurrentRowHighlightColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ExpanderIconColorProperty

    Identifies the GroupIconColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ExpanderIconColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FreezePaneLineColorProperty

    Identifies the FreezePaneLineColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty FreezePaneLineColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GridLineColorProperty

    Identifies the GridLineColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty GridLineColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GridLineStrokeThicknessProperty

    Identifies the GridLineStrokeThickness Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty GridLineStrokeThicknessProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GroupSummaryRowBackgroundProperty

    Identifies the GroupSummaryRowBackground bindable property.

    Declaration
    public static readonly BindableProperty GroupSummaryRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GroupSummaryRowFontAttributesProperty

    Declaration
    public static readonly BindableProperty GroupSummaryRowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GroupSummaryRowFontFamilyProperty

    Identifies the GroupSummaryRowFontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty GroupSummaryRowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GroupSummaryRowFontSizeProperty

    Identifies the GroupSummaryRowFontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty GroupSummaryRowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    GroupSummaryRowTextColorProperty

    Identifies the GroupSummaryRowTextColor bindable property.

    Declaration
    public static readonly BindableProperty GroupSummaryRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    HeaderGridLineColorProperty

    Identifies the HeaderGridLineColor bindable property.

    Declaration
    public static readonly BindableProperty HeaderGridLineColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty
    Remarks

    The HeaderGridLineColor The property specifies the grid line color of the column header and stacked header cells.

    HeaderGridLineStrokeThicknessProperty

    Identifies the HeaderGridLineStrokeThickness bindable property.

    Declaration
    public static readonly BindableProperty HeaderGridLineStrokeThicknessProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty
    Remarks

    The HeaderGridLineStrokeThickness property determines the stroke thickness of the column header and stacked header cells.

    HeaderRowBackgroundProperty

    Identifies the HeaderRowBackground Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty HeaderRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    HeaderRowFontAttributesProperty

    Identifies the HeaderFontAttributes Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty HeaderRowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    HeaderRowFontFamilyProperty

    Identifies the HeaderFontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty HeaderRowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    HeaderRowFontSizeProperty

    Identifies the HeaderFontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty HeaderRowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    HeaderRowTextColorProperty

    Identifies the HeaderRowTextColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty HeaderRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    LoadMoreBackgroundProperty

    Identifies the bindable property.

    Declaration
    public static readonly BindableProperty LoadMoreBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    LoadMoreButtonBackgroundProperty

    Identifies the bindable property.

    Declaration
    public static readonly BindableProperty LoadMoreButtonBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    LoadMoreButtonTextColorProperty

    Identifies the bindable property.

    Declaration
    public static readonly BindableProperty LoadMoreButtonTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    LoadMoreIndicatorColorProperty

    Identifies the bindable property.

    Declaration
    public static readonly BindableProperty LoadMoreIndicatorColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowBackgroundProperty

    Identifies the RowBackground Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty RowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowDraggingIndicatorLineColorProperty

    Identifies the RowDraggingIndicatorLineColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty RowDraggingIndicatorLineColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowDragViewBackgroundColorProperty

    Identifies the RowDragViewBackgroundColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty RowDragViewBackgroundColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowDragViewTextColorProperty

    Identifies the RowDragViewTextColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty RowDragViewTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowFontAttributesProperty

    Identifies the RowFontAttributes Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty RowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowFontFamilyProperty

    Identifies the RowFontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty RowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowFontSizeProperty

    Identifies the RowFontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty RowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RowTextColorProperty

    Identifies the RowTextColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty RowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SearchHighlightTextBackgroundProperty

    Identifies the SearchHighlightTextBackground Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty SearchHighlightTextBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SearchHighlightTextColorProperty

    Identifies the SearchHighlightTextColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty SearchHighlightTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SearchTextBackgroundProperty

    Identifies the SearchTextBackground Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty SearchTextBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SearchTextColorProperty

    Identifies the SearchTextColor Microsoft.Maui.Controls.BindableProperty

    Declaration
    public static readonly BindableProperty SearchTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SelectedRowTextColorProperty

    Identifies the SelectedRowTextColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty SelectedRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SelectionBackgroundProperty

    Identifies the SelectionBackground Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty SelectionBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SortIconColorProperty

    Identifies the SortIconColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static BindableProperty SortIconColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StackedHeaderRowBackgroundProperty

    Identifies the HeaderRowBackground Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty StackedHeaderRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StackedHeaderRowFontAttributesProperty

    Identifies the HeaderFontAttributes Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty StackedHeaderRowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StackedHeaderRowFontFamilyProperty

    Identifies the HeaderFontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty StackedHeaderRowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StackedHeaderRowFontSizeProperty

    Identifies the HeaderFontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty StackedHeaderRowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StackedHeaderRowTextColorProperty

    Identifies the HeaderRowTextColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty StackedHeaderRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    TableSummaryRowBackgroundProperty

    Identifies the TableSummaryRowBackground bindable property.

    Declaration
    public static readonly BindableProperty TableSummaryRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    TableSummaryRowFontAttributesProperty

    to do

    Declaration
    public static readonly BindableProperty TableSummaryRowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    TableSummaryRowFontFamilyProperty

    Identifies the TableSummaryRowFontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TableSummaryRowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    TableSummaryRowFontSizeProperty

    Identifies the TableSummaryRowFontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TableSummaryRowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    TableSummaryRowTextColorProperty

    Identifies the TableSummaryRowTextColor bindable property.

    Declaration
    public static readonly BindableProperty TableSummaryRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    UnboundRowBackgroundProperty

    Identifies the UnboundRowBackground Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty UnboundRowBackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    UnboundRowFontAttributesProperty

    Identifies the UnboundRowFontAttributes Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty UnboundRowFontAttributesProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    UnboundRowFontFamilyProperty

    Identifies the UnboundRowFontFamily Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty UnboundRowFontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    UnboundRowFontSizeProperty

    Identifies the UnboundRowFontSize Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty UnboundRowFontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    UnboundRowTextColorProperty

    Identifies the UnboundRowTextColor Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty UnboundRowTextColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    AlternateRowBackground

    Gets or sets the background of the alternate rows.

    Declaration
    public Brush AlternateRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush
    See Also
    AlternationRowCount

    CaptionSummaryRowBackground

    Declaration
    public Brush CaptionSummaryRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    CaptionSummaryRowFontAttributes

    Declaration
    public FontAttributes CaptionSummaryRowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    CaptionSummaryRowFontFamily

    Declaration
    public string CaptionSummaryRowFontFamily { get; set; }
    Property Value
    Type
    System.String

    CaptionSummaryRowFontSize

    Declaration
    public double CaptionSummaryRowFontSize { get; set; }
    Property Value
    Type
    System.Double

    CaptionSummaryRowTextColor

    Declaration
    public Color CaptionSummaryRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    ColumnDraggingIndicatorLineColor

    Gets or sets the Microsoft.Maui.Graphics.Color which will change the color of column dragging indicator in a SfDataGrid control. This is a bindable property.

    Declaration
    public Color ColumnDraggingIndicatorLineColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    ColumnDragViewBackgroundColor

    Declaration
    public Color ColumnDragViewBackgroundColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    ColumnDragViewTextColor

    Declaration
    public Color ColumnDragViewTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    ColumnResizingIndicatorColor

    Gets or sets the color for the resizing indicator.

    Declaration
    public Color ColumnResizingIndicatorColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    CurrentCellBorderColor

    Gets or sets the color for current cell border.

    Declaration
    public Color CurrentCellBorderColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    CurrentCellBorderWidth

    Gets or sets the width for current cell border.

    Declaration
    public double CurrentCellBorderWidth { get; set; }
    Property Value
    Type
    System.Double

    CurrentRowHighlightColor

    Gets or sets the color for current row border.

    Declaration
    public Color CurrentRowHighlightColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    ExpanderIconColor

    Gets or sets the master-details view expander icon color.

    Declaration
    public Color ExpanderIconColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    FreezePaneLineColor

    Declaration
    public Color FreezePaneLineColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color
    Remarks

    This is applicable for both the frozen column and row.

    GridLineColor

    Gets or sets the color for the grid lines.

    Declaration
    public Color GridLineColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    GridLineStrokeThickness

    Gets or sets the stroke thickness of the grid lines.

    Declaration
    public float GridLineStrokeThickness { get; set; }
    Property Value
    Type
    System.Single

    GroupSummaryRowBackground

    Declaration
    public Brush GroupSummaryRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    GroupSummaryRowFontAttributes

    Declaration
    public FontAttributes GroupSummaryRowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    GroupSummaryRowFontFamily

    Declaration
    public string GroupSummaryRowFontFamily { get; set; }
    Property Value
    Type
    System.String

    GroupSummaryRowFontSize

    Declaration
    public double GroupSummaryRowFontSize { get; set; }
    Property Value
    Type
    System.Double

    GroupSummaryRowTextColor

    Declaration
    public Color GroupSummaryRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    HeaderGridLineColor

    Gets or sets the color of the grid lines in the column header and stacked header cells.

    Declaration
    public Color HeaderGridLineColor { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Graphics.Color

    It accepts Microsoft.Maui.Graphics.Color values, the default color is Color.FromRgba("#CAC4D0").

    Remarks

    This property allows you to set the color of the grid lines in the column header and stacked header cells for better visual distinction.

    Examples

    Here is an example of how to set the HeaderGridLineColor property.

    • XAML
    • C#
    <local:SfDataGrid>
        <local:SfDataGrid.DefaultStyle>
            <local:DataGridStyle HeaderGridLineColor="Gray" />
        </local:SfDataGrid.DefaultStyle>
    </local:SfDataGrid>
    var dataGrid = new SfDataGrid();
    DataGridStyle style = new DataGridStyle() { HeaderGridLineColor = Colors.Gray };
    dataGrid.DefaultStyle = style;

    HeaderGridLineStrokeThickness

    Gets or sets the stroke thickness of the grid line in the column header and stacked header cells.

    Declaration
    public float HeaderGridLineStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Single

    It accepts System.Single values, and the default thickness is 1.0.

    Remarks

    This property allows you to customize the appearance of the header grid line by adjusting its stroke thickness in the column header and stacked header cells.

    Examples

    Here is an example of how to set the HeaderGridLineStrokeThickness property.

    XAML

    <local:SfDataGrid>
        <local:SfDataGrid.DefaultStyle>
            <local:DataGridStyle HeaderGridLineStrokeThickness="2.0" />
        </local:SfDataGrid.DefaultStyle>
    </local:SfDataGrid>

    C#

    var dataGrid = new SfDataGrid();
    DataGridStyle style = new DataGridStyle() { HeaderGridLineStrokeThickness = 2.0f };
    dataGrid.DefaultStyle = style;

    HeaderRowBackground

    Gets or sets the background for the header row.

    Declaration
    public Brush HeaderRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    HeaderRowFontAttributes

    Gets or sets the font attributes of the header row.

    Declaration
    public FontAttributes HeaderRowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    HeaderRowFontFamily

    Gets or sets the font family of the header row.

    Declaration
    public string HeaderRowFontFamily { get; set; }
    Property Value
    Type
    System.String

    HeaderRowFontSize

    Gets or sets the font size of the header row.

    Declaration
    public double HeaderRowFontSize { get; set; }
    Property Value
    Type
    System.Double

    HeaderRowTextColor

    Gets or sets the text color of the header row.

    Declaration
    public Color HeaderRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    LoadMoreBackground

    Gets or sets the Microsoft.Maui.Controls.Brush which will fill the background of DataGridLoadMoreView.

    Declaration
    public Brush LoadMoreBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    LoadMoreButtonBackground

    Gets or sets the Microsoft.Maui.Controls.Brush which will fill the background of button in the DataGridLoadMoreView.

    Declaration
    public Brush LoadMoreButtonBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    LoadMoreButtonTextColor

    Gets or sets the Microsoft.Maui.Graphics.Color which will be used to apply text color of load more text in the DataGridLoadMoreView.

    Declaration
    public Color LoadMoreButtonTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    LoadMoreIndicatorColor

    Gets or sets the Microsoft.Maui.Graphics.Color which will fill the background color of indicator in the DataGridLoadMoreView.

    Declaration
    public Color LoadMoreIndicatorColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    RowBackground

    Gets or sets the background of the data rows.

    Declaration
    public Brush RowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    RowDraggingIndicatorLineColor

    Gets or sets the Microsoft.Maui.Graphics.Color which will change the color of row dragging indicator in a SfDataGrid control. This is a bindable property.

    Declaration
    public Color RowDraggingIndicatorLineColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    RowDragViewBackgroundColor

    Declaration
    public Color RowDragViewBackgroundColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    RowDragViewTextColor

    Declaration
    public Color RowDragViewTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    RowFontAttributes

    Gets or sets the font attributes of the data rows.

    Declaration
    public FontAttributes RowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    RowFontFamily

    Gets or sets the font family of the data rows.

    Declaration
    public string RowFontFamily { get; set; }
    Property Value
    Type
    System.String

    RowFontSize

    Gets or sets the font size of the data rows.

    Declaration
    public double RowFontSize { get; set; }
    Property Value
    Type
    System.Double

    RowTextColor

    Gets or sets the text color of the data row.

    Declaration
    public Color RowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    SearchHighlightTextBackground

    Gets or sets the Microsoft.Maui.Graphics.Color which will fill the test background of the highlighted search in a SfDataGrid control. This is a bindable property.

    Declaration
    public Color SearchHighlightTextBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    SearchHighlightTextColor

    Gets or sets the Microsoft.Maui.Graphics.Color which will fill the test of the highlighted search in a SfDataGrid control. This is a bindable property.

    Declaration
    public Color SearchHighlightTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    SearchTextBackground

    Gets or sets the Microsoft.Maui.Graphics.Color which will fill the test background of the search in a SfDataGrid control. This is a bindable property.

    Declaration
    public Color SearchTextBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    SearchTextColor

    Gets or sets the Microsoft.Maui.Graphics.Color which will fill the test of the search in a SfDataGrid control. This is a bindable property.

    Declaration
    public Color SearchTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    SelectedRowTextColor

    Gets or sets the text color of the selected rows.

    Declaration
    public Color SelectedRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    SelectionBackground

    Gets or sets the background of the selected rows.

    Declaration
    public Brush SelectionBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    SortIconColor

    Gets the color for the sort icon.

    Declaration
    public Color SortIconColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    StackedHeaderRowBackground

    Gets or sets the row background of the stacked header cell.

    Declaration
    public Brush StackedHeaderRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    StackedHeaderRowFontAttributes

    Gets or sets the font attributes of the stacked header cell.

    Declaration
    public FontAttributes StackedHeaderRowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    StackedHeaderRowFontFamily

    Gets or sets the font family of the stacked header cell.

    Declaration
    public string StackedHeaderRowFontFamily { get; set; }
    Property Value
    Type
    System.String

    StackedHeaderRowFontSize

    Gets or sets the font size of the stacked header cell.

    Declaration
    public double StackedHeaderRowFontSize { get; set; }
    Property Value
    Type
    System.Double

    StackedHeaderRowTextColor

    Gets or sets the text color of the stacked header cell.

    Declaration
    public Color StackedHeaderRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    TableSummaryRowBackground

    Gets or sets the background of the table summary row.

    Declaration
    public Brush TableSummaryRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    TableSummaryRowFontAttributes

    Gets or sets the font attributes of the table summary row.

    Declaration
    public FontAttributes TableSummaryRowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    TableSummaryRowFontFamily

    Gets or sets the font family of the table summary row.

    Declaration
    public string TableSummaryRowFontFamily { get; set; }
    Property Value
    Type
    System.String

    TableSummaryRowFontSize

    Gets or sets the font size of the table summary row.

    Declaration
    public double TableSummaryRowFontSize { get; set; }
    Property Value
    Type
    System.Double

    TableSummaryRowTextColor

    Gets or sets the text color of the table summary row.

    Declaration
    public Color TableSummaryRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    UnboundRowBackground

    Gets or sets the background of the unbound rows.

    Declaration
    public Brush UnboundRowBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    UnboundRowFontAttributes

    Gets or sets the font attributes of the unbound rows.

    Declaration
    public FontAttributes UnboundRowFontAttributes { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.FontAttributes

    UnboundRowFontFamily

    Gets or sets the font family of the unbound rows.

    Declaration
    public string UnboundRowFontFamily { get; set; }
    Property Value
    Type
    System.String

    UnboundRowFontSize

    Gets or sets the font size of the unbound rows.

    Declaration
    public double UnboundRowFontSize { get; set; }
    Property Value
    Type
    System.Double

    UnboundRowTextColor

    Gets or sets the text color of the unbound row.

    Declaration
    public Color UnboundRowTextColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    Methods

    OnCommonThemeChanged(String, String)

    Declaration
    public void OnCommonThemeChanged(string oldTheme, string newTheme)
    Parameters
    Type Name Description
    System.String oldTheme
    System.String newTheme

    OnControlThemeChanged(String, String)

    Declaration
    public void OnControlThemeChanged(string oldTheme, string newTheme)
    Parameters
    Type Name Description
    System.String oldTheme
    System.String newTheme
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved