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

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.v24.2.dll

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

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Padding UserCellPadding { get; set; }

#Property Value

Type Description
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