NumericEdit.UpDownIconAlignment Property
Gets or sets the alignment of the up and down icons that increase and decrease the editor’s value.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public UpDownIconAlignment UpDownIconAlignment { get; set; }
Property Value
Type | Description |
---|---|
UpDownIconAlignment | A value that specifies the alignment of the up and down buttons in the edit box. |
Available values:
Name | Description |
---|---|
Start | The up and down buttons are aligned at the left. |
End | The up and down buttons are aligned at the right. |
Both | The down button is aligned at the left and the up button is aligned at the right. |
Remarks
Use the MinValue and MaxValue properties to specify the minimum and maximum values that users can assign to the editor.
The IsUpDownIconVisible property specifies whether to display the up and down icons in the editor. These icons allow users to increase and decrease the current value. Use the UpDownIconAlignment
property to align both icons at the left or right edge, or to align the down icon at the left and the up icon at the right.
If you specified the minimum/maximum values and displayed the up/down icons, you can also enable the AllowLooping option to return the current value to the minimum value when the user has exceeded the maximum value (and vice versa).