GridColumn.FontColor Property
Specifies the color for the text in column’s cells.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
Declaration
public Color FontColor { get; set; }
Property Value
Type | Description |
---|---|
Color | A text color. |
Remarks
You can also use the BackgroundColor property to configure the background color for the column’s cells, and the FontFamily/FontAttributes/FontSize properties to change the font of cells’ text.
To customize the appearance of a specific cell, handle the CustomCellStyle event.
Use the Padding property to set the text padding for a column’s cells.
Example
The following example shows how to customize the appearance of a specific column in the grid:
<dxg:NumberColumn FontSize="18"
FontColor="Brown"
FontAttributes="Bold"
BackgroundColor="LightGoldenrodYellow" />
See Also