wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutitem-467fa5cc.md
Gets or sets the vertical alignment of the label within the layout item’s label region. This is a dependency property.
Namespace : DevExpress.Xpf.LayoutControl
Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll
NuGet Package : DevExpress.Wpf.LayoutControl
public VerticalAlignment LabelVerticalAlignment { get; set; }
Public Property LabelVerticalAlignment As VerticalAlignment
| Type | Description |
|---|---|
| VerticalAlignment |
A VerticalAlignment value that specifies the vertical alignment of the label within the layout item’s label region.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LabelVerticalAlignment 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.
reporting-wpf-wizard-custom-page/CS/App.xaml#L20
<dxlc:LayoutGroup Orientation="Vertical">
<dxlc:LayoutItem Label="Orientation: " LabelVerticalAlignment="Top">
<UniformGrid Columns="2" Rows="1" Grid.Column="2" Margin="0,0,0,12">
See Also