Back to Devexpress

LayoutItem.LabelVerticalAlignment Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutitem-467fa5cc.md

latest2.3 KB
Original Source

LayoutItem.LabelVerticalAlignment Property

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

Declaration

csharp
public VerticalAlignment LabelVerticalAlignment { get; set; }
vb
Public Property LabelVerticalAlignment As VerticalAlignment

Property Value

TypeDescription
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

xml
<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

Label

LabelHorizontalAlignment

LayoutItem Class

LayoutItem Members

DevExpress.Xpf.LayoutControl Namespace