DxSpinEdit<T>.AllowUpDownArrowKeys Property
Specifies whether users can press Up/Down arrow keys to increase/decrease the editor value.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v26.1.dll
Declaration
[DefaultValue(true)]
[Parameter]
public bool AllowUpDownArrowKeys { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Remarks
Users can press Up Arrow and Down Arrow keys to increase/decrease the Spin Edit value. Set the AllowUpDownArrowKeys property to false to disable this functionality.
Use the Increment property to adjust the change step value.
<DxSpinEdit @bind-Value="@Value"
AllowUpDownArrowKeys="false" />
@code {
int Value { get; set; } = 10;
}
You can also use the AllowMouseWheel property to disable mouse wheel interaction.
See Also