Back to Devexpress

DxSpinEdit<T>.AllowMouseWheel Property

blazor-devexpress-dot-blazor-dot-dxspinedit-1-9e3135d8.md

latest1.1 KB
Original Source

DxSpinEdit<T>.AllowMouseWheel Property

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the Spin Edit’s value changes when a user scrolls the mouse wheel; 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.

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

See Also

DxSpinEdit<T> Class

DxSpinEdit<T> Members

DevExpress.Blazor Namespace