Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
public Thickness Padding { get; set; }

#Property Value

Type Description
Thickness

Cell value padding.

#Remarks

DevExpress MAUI DataGrid - GridColumn Padding

<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