Back to Devexpress

GridView.UserCellPadding Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-aad13dd9.md

latest1.9 KB
Original Source

GridView.UserCellPadding Property

Gets or sets a Padding structure by which the default cell padding is adjusted.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Padding UserCellPadding { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property UserCellPadding As Padding

Property Value

TypeDescription
Padding

A System.Windows.Forms.Padding structure by which the default cell padding is adjusted.

|

Remarks

The default padding around cells within the GridView is specified by the applied skin. Use the UserCellPadding property to adjust the default cell padding within the GridView. Positive padding values increase the default padding values for the corresponding edges while negative padding values decrease them.

See Also

WinForms Skins and Color Palettes

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace