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.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UserCellPadding property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.