Class DataGridStyle
Represents the style of the SfDataGrid.
Inheritance
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridStyle : Element
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 | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
CurrentCellBorderColorProperty
Identifies the CurrentCellBorderColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty CurrentCellBorderColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
CurrentCellBorderWidthProperty
Identifies the CurrentCellBorderWidth Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty CurrentCellBorderWidthProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
FreezePaneLineColorProperty
Identifies the FreezePaneLineColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty FreezePaneLineColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
GridLineColorProperty
Identifies the GridLineColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty GridLineColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
GridLineStrokeThicknessProperty
Identifies the GridLineStrokeThickness Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty GridLineStrokeThicknessProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
HeaderRowBackgroundProperty
Identifies the HeaderRowBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowBackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
HeaderRowFontAttributesProperty
Identifies the HeaderFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowFontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
HeaderRowFontFamilyProperty
Identifies the HeaderFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowFontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
HeaderRowFontSizeProperty
Identifies the HeaderFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowFontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
HeaderRowTextColorProperty
Identifies the HeaderRowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowTextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
RowBackgroundProperty
Identifies the RowBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowBackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
RowFontAttributesProperty
Identifies the RowFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowFontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
RowFontFamilyProperty
Identifies the RowFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowFontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
RowFontSizeProperty
Identifies the RowFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowFontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
RowTextColorProperty
Identifies the RowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowTextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
SelectedRowTextColorProperty
Identifies the SelectedRowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SelectedRowTextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
SelectionBackgroundProperty
Identifies the SelectionBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SelectionBackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
StackedHeaderRowBackgroundProperty
Identifies the HeaderRowBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowBackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
StackedHeaderRowFontAttributesProperty
Identifies the HeaderFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowFontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
StackedHeaderRowFontFamilyProperty
Identifies the HeaderFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowFontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
StackedHeaderRowFontSizeProperty
Identifies the HeaderFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowFontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
StackedHeaderRowTextColorProperty
Identifies the HeaderRowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowTextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
TableSummaryRowBackgroundProperty
Identifies the TableSummaryRowBackground bindable property.
Declaration
public static readonly BindableProperty TableSummaryRowBackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
TableSummaryRowFontAttributesProperty
Identifies the
Declaration
public static readonly BindableProperty TableSummaryRowFontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
TableSummaryRowFontFamilyProperty
Identifies the TableSummaryRowFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty TableSummaryRowFontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
TableSummaryRowFontSizeProperty
Identifies the TableSummaryRowFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty TableSummaryRowFontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
TableSummaryRowTextColorProperty
Identifies the TableSummaryRowTextColor bindable property.
Declaration
public static readonly BindableProperty TableSummaryRowTextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty |
Properties
AlternateRowBackground
Gets or sets the background of the alternate rows.
Declaration
public Brush AlternateRowBackground { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush |
See Also
CurrentCellBorderColor
Gets or sets the color for current cell border.
Declaration
public Color CurrentCellBorderColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
CurrentCellBorderWidth
Gets or sets the width for current cell border.
Declaration
public double CurrentCellBorderWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
FreezePaneLineColor
Gets or sets the color of the line which indicates the frozen pane.
Declaration
public Color FreezePaneLineColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
GridLineColor
Gets or sets the color for the grid lines.
Declaration
public Color GridLineColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
GridLineStrokeThickness
Gets or sets the stroke thickness of the grid lines.
Declaration
public float GridLineStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
HeaderRowBackground
Gets or sets the background for the header row.
Declaration
public Brush HeaderRowBackground { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush |
HeaderRowFontAttributes
Gets or sets the font attributes of the header row.
Declaration
public FontAttributes HeaderRowFontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.FontAttributes |
HeaderRowFontFamily
Gets or sets the font family of the header row.
Declaration
public string HeaderRowFontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HeaderRowFontSize
Gets or sets the font size of the header row.
Declaration
public double HeaderRowFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
HeaderRowTextColor
Gets or sets the text color of the header row.
Declaration
public Color HeaderRowTextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
RowBackground
Gets or sets the background of the data rows.
Declaration
public Brush RowBackground { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush |
RowFontAttributes
Gets or sets the font attributes of the data rows.
Declaration
public FontAttributes RowFontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.FontAttributes |
RowFontFamily
Gets or sets the font family of the data rows.
Declaration
public string RowFontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RowFontSize
Gets or sets the font size of the data rows.
Declaration
public double RowFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RowTextColor
Gets or sets the text color of the data row.
Declaration
public Color RowTextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
SelectedRowTextColor
Gets or sets the text color of the selected rows.
Declaration
public Color SelectedRowTextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
SelectionBackground
Gets or sets the background of the selected rows.
Declaration
public Brush SelectionBackground { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush |
StackedHeaderRowBackground
Gets or sets the row background of the stacked header cell.
Declaration
public Brush StackedHeaderRowBackground { get; set; }
Property Value
Type | Description |
---|---|
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 | Description |
---|---|
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 | Description |
---|---|
System.String |
StackedHeaderRowFontSize
Gets or sets the font size of the stacked header cell.
Declaration
public double StackedHeaderRowFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
StackedHeaderRowTextColor
Gets or sets the text color of the stacked header cell.
Declaration
public Color StackedHeaderRowTextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |
TableSummaryRowBackground
Gets or sets the background of the table summary row.
Declaration
public Brush TableSummaryRowBackground { get; set; }
Property Value
Type | Description |
---|---|
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 | Description |
---|---|
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 | Description |
---|---|
System.String |
TableSummaryRowFontSize
Gets or sets the font size of the table summary row.
Declaration
public double TableSummaryRowFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TableSummaryRowTextColor
Gets or sets the text color of the table summary row.
Declaration
public Color TableSummaryRowTextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |