All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XtraLayoutPanelBase.LabelVertAlignment Property

Gets or sets how LabelControls are vertically aligned in relation to the text editors displayed to the label's right (to the label's left in right-to-left locales).

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Layout")]
[DefaultValue(LabelVertAlignment.Default)]
public LabelVertAlignment LabelVertAlignment { get; set; }
<DXCategory("Layout")>
<DefaultValue(LabelVertAlignment.Default)>
Public Property LabelVertAlignment As LabelVertAlignment

Property Value

Type Default Description
DevExpress.Utils.Layout.LabelVertAlignment

Default

The label's vertical position relative to the adjacent text editor.

Remarks

The LabelVertAlignment property specifies the vertical alignment of a LabelControl placed to the left of a DevExpress text editor (TextEdit and its descendants).

Baseline alignment

The label's baseline matches the baseline of the editor's text.

Center alignment

The label is vertically centered relatively to the editor's box.

Default alignment

The Default value is interpreted as follows:

  • For the StackPanel, the Default value is equivalent to Center.

  • For the TablePanel, the Default value is equivalent to Baseline.

See Also