Skip to main content

DataFormView.EditorLabelHorizontalAlignment Property

Gets or sets the horizontal alignment of labels displayed above editors.

Namespace: DevExpress.XamarinForms.DataForm

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public LayoutAlignment EditorLabelHorizontalAlignment { get; set; }

Property Value

Type Description
LayoutAlignment

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

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