maui-devexpress-dot-maui-dot-datagrid-dot-textcolumnbase-df6929a7.md
Gets or sets whether the font in the column’s cells is bold or italic. This is a bindable property.
Namespace : DevExpress.Maui.DataGrid
Assembly : DevExpress.Maui.DataGrid.dll
NuGet Package : DevExpress.Maui.DataGrid
public FontAttributes FontAttributes { get; set; }
| Type | Description |
|---|---|
| FontAttributes |
The value that specifies whether the font is bold, italic, or neither.
|
You can also use the BackgroundColor/FontColor properties to configure the background and text color for the column cells, and the FontFamily/FontSize properties to change the font of cells’ text.
To customize the appearance of a specific cell, handle the CustomCellAppearance event.
Use the Padding property to set the text padding for a column’s cells.
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