NumberColumn.UpDownIconAlignment Property
Gets or sets the alignment of the up and down buttons that increase and decrease the actual value. This is a bindable property.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public UpDownIconAlignment UpDownIconAlignment { get; set; }
Property Value
Type | Description |
---|---|
UpDownIconAlignment | The alignment of the up and down buttons in the focused cell. |
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 a cell.
The IsUpDownIconVisible property specifies whether to display the up and down icons in the focused cell. These icons allow users to increase and decrease the cell 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 exceeds the maximum value, and vice versa.