GridColumn.Padding Property
In This Article
Specifies the distance between values and borders in the column’s cells.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
#Declaration
C#
[XtraSerializableProperty]
public Thickness Padding { get; set; }
#Property Value
Type | Description |
---|---|
Thickness | Cell value padding. |
#Remarks
<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 CustomCellStyle event.
See Also