Class DataGridExportCellStyle
Represents a class which is used to set exporting cell styles for excel.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid.Exporting
Assembly: Syncfusion.Maui.DataGridExport.dll
Syntax
public class DataGridExportCellStyle
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 |
|---|---|---|
| Color | backgroundColor | The background color of the exporting cell. |
| 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 |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|
| Color | The foreground color of the exporting cell. |