Skip to main content
A newer version of this page is available. .

BaseLayoutItem.Padding Property

Gets or sets the amount of space between the item’s borders and its contents. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v19.1.dll

Declaration

public Thickness Padding { get; set; }

Property Value

Type Description
Thickness

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

Remarks

The Padding property specifies the indents between the item’s top, left, bottom and right edges, and the item’s contents. To specify the outer indents use the BaseLayoutItem.Margin property.

MarginVsSpacing

The following code snippets (auto-collected from DevExpress Examples) contain references to the Padding 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.

See Also