Skip to main content

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

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public Thickness? Padding { get; set; }

Property Value

Type Description
Nullable<Thickness>

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

Remarks

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