Skip to main content

DxSpinEdit<T>.AllowMouseWheel Property

Specifies whether a user can use the mouse wheel to change the Spin Edit’s value.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v26.1.dll

Declaration

[DefaultValue(true)]
[Parameter]
public bool AllowMouseWheel { get; set; }

Property Value

Type Default Description
Boolean true

true if a user can use the mouse wheel to change the editor value; otherwise, false.

Remarks

Users can scroll the mouse wheel to change the Spin Edit’s Value. Set the AllowMouseWheel property to false to disable this feature.

<DxSpinEdit Value="15" AllowMouseWheel="false"/>

You can also use the AllowUpDownArrowKeys property to disable keyboard interaction.

See Also