Class DataGridExportCellStyle
Represents a class which is used to set exporting cell styles for excel.
Inheritance
System.Object
DataGridExportCellStyle
Namespace: Syncfusion.Maui.DataGrid.Exporting
Assembly: Syncfusion.Maui.DataGridExport.dll
Syntax
public class DataGridExportCellStyle : Object
Constructors
DataGridExportCellStyle()
Initializes a new instance of the ExportCellStyle class.
Declaration
public DataGridExportCellStyle()
DataGridExportCellStyle(Color, Color)
Initializes a new instance of the ExportCellStyle class.
Declaration
public DataGridExportCellStyle(Color backgroundColor, Color textColor)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.Color | backgroundColor | The background color of the exporting cell. |
Microsoft.Maui.Graphics.Color | textColor | The foreground color of the exporting cell. |
Properties
BackgroundColor
Gets or sets the background color of the exporting cell.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color | The background color of the exporting cell. |
BorderColor
Gets or sets the border color of the exporting cell.
Declaration
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color | The border color of the exporting cell. |
FontInfo
Gets or sets the font info of the exporting cell.
Declaration
public DataGridExportFontInfo FontInfo { get; set; }
Property Value
Type | Description |
---|---|
DataGridExportFontInfo | The font info of the exporting cell. |
TextColor
Gets or sets the Text color of the exporting cell.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color | The foreground color of the exporting cell. |