Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataFormView.EditorLabelHorizontalAlignment Property

Gets or sets the horizontal alignment of labels displayed above editors. This is a bindable property.

Namespace: DevExpress.Maui.DataForm

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public LayoutAlignment EditorLabelHorizontalAlignment { get; set; }

#Property Value

Type Default Description
LayoutAlignment Start

The horizontal alignment.

#Remarks

You can align labels horizontally when they are above editors (the DataFormView.EditorLabelPosition property is set to Top). To do this, set the data form’s EditorLabelHorizontalAlignment property to Start, End, or Center.

To specify the position and horizontal alignment of an individual editor’s label, use the DataFormItem.LabelPosition and DataFormItem.LabelHorizontalAlignment properties.

See Also