PropertyDefinitionBase.Padding Property

Gets or sets the thickness of the padding space between the item’s borders and it’s contents. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v21.2.dll


public Thickness? Padding { get; set; }

Property Value

Type Description

A Thickness value that specifies the amount of space between the item’s borders and its contents.


Use the Padding property to specify the amount of padding to apply. You can specify the padding using a single numerical value, or using four distinct values separated by commas. To specify the padding for all properties in the property grid, use the PropertyGridControl.RowPadding property.

See Also