Back to Devexpress

LayoutItem.LabelPosition Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutitem-0fcbfc9c.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public LayoutItemLabelPosition LabelPosition { get; set; }
vb
Public Property LabelPosition As LayoutItemLabelPosition

Property Value

TypeDescription
LayoutItemLabelPosition

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

|

Available values:

NameDescription
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.

wpf-synchronous-theme-preload-with-splashscreen/CS/ThemePreloadwithSplashscreen/ComplexWindow.xaml#L181

xml
Label="Evaluations"
LabelPosition="Top">
<dxg:GridControl Height="223" ItemsSource="{Binding Path=Evaluations}">

See Also

Content

Label

LayoutItem Class

LayoutItem Members

DevExpress.Xpf.LayoutControl Namespace