All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
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.
1.1
The page you are viewing does not exist in version 1.1. This link will take you to the root page.

DataFormItem.LabelHorizontalAlignment Property

Gets or sets the horizontal alignment of a label displayed above the editor.

Namespace: DevExpress.XamarinForms.DataForm

Assembly: DevExpress.XamarinForms.Editors.dll

Declaration

public LayoutAlignment LabelHorizontalAlignment { get; set; }

Property Value

Type Description
LayoutAlignment

A value that specifies the horizontal alignment of the editor's label.

Remarks

You can align a label horizontally when it is above an editor (the DataFormItem.LabelPosition property is set to Top). To do this, set the editor's LabelHorizontalAlignment property to Start, End or Center.

To specify the position and horizontal alignment for labels of all editors on the form, use the DataFormView.EditorLabelPosition and DataFormView.EditorLabelHorizontalAlignment properties.

See Also