Back to Devexpress

GridColumn.Padding Property

maui-devexpress-dot-maui-dot-datagrid-dot-gridcolumn-3fb65df5.md

latest1.7 KB
Original Source

GridColumn.Padding Property

Gets or sets the distance between values and borders in the column’s cells. This is a bindable property.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public Thickness Padding { get; set; }

Property Value

TypeDescription
Thickness

Cell value padding.

|

Remarks

xaml
<dxg:TextColumn Padding="20"/>

You can also use the BackgroundColor/FontColor properties to configure the background and text 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 CustomCellAppearance event.

See Also

GridColumn Class

GridColumn Members

DevExpress.Maui.DataGrid Namespace