NumericEdit.UpDownIconAlignment Property
Gets or sets the alignment of the up and down icons that increase and decrease the editor’s value. This is a bindable property.
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
Declaration
public UpDownIconAlignment UpDownIconAlignment { get; set; }
Property Value
Type | Default | Description |
---|---|---|
UpDownIconAlignment | End | 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 return the current value to the minimum value when the user exceeds the maximum value (and vice versa). To prevent this behavior, disable the AllowLooping property.