Skip to main content

LayoutItem.LabelPosition Property

Gets or sets the position of the LayoutItem.Label relative to the LayoutItem.Content. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public LayoutItemLabelPosition LabelPosition { get; set; }

Property Value

Type Description
LayoutItemLabelPosition

A LayoutItemLabelPosition value that specifies the position of the label, relative to the item’s content.

Available values:

Name Description
Left

A layout item’s label is displayed to the left of the item’s content.

Top

A layout item’s label is displayed on the top of the item’s content.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LabelPosition 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