Back to Devexpress

XtraLayoutPanelBase.LabelVertAlignment Property

windowsforms-devexpress-dot-utils-dot-layout-dot-xtralayoutpanelbase-ca1c0dcf.md

latest1.9 KB
Original Source

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

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Layout.LabelVertAlignmentDefault

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

The LabelVertAlignment property accepts the following values.

  • Baseline

  • Center

  • Default

See Also

XtraLayoutPanelBase Class

XtraLayoutPanelBase Members

DevExpress.Utils.Layout Namespace