Skip to main content

DataFormView.EditorLabelMaxWidth Property

Gets or sets the maximum width of the data form’s editor labels.

Namespace: DevExpress.XamarinForms.DataForm

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public double EditorLabelMaxWidth { get; set; }

Property Value

Type Description
Double

An editor label’s maximum width.

Remarks

Use the EditorWidth and EditorLabelWidth properties to set the width for all editors and editor labels that the data form displays. The EditorMinWidth/EditorMaxWidth and EditorLabelMinWidth/EditorLabelMaxWidth properties specify the minimum and maximum width that can be assigned to editors and labels, respectively.

You can also manage the width of individual editors and labels. To do this, use the following parameters of the DataFormDisplayOptionsAttribute attribute or properties of the DataFormItem descendant object:

  • EditorWidth, EditorMinWidth, EditorMaxWidth
  • LabelWidth, LabelMinWidth, LabelMaxWidth

The EditorWidth and EditorLabelWidth properties allow you to define absolute or proportional (*) width values. EditorLabelWidth can also have the Auto value.

See Also