Back to Devexpress

ButtonEditPropertiesBase.AllowMouseWheel Property

aspnet-devexpress-dot-web-dot-buttoneditpropertiesbase-df022f62.md

latest1.8 KB
Original Source

ButtonEditPropertiesBase.AllowMouseWheel Property

Gets or sets a value that specifies whether an end-user is able to change the editor’s value using the mouse wheel.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public virtual bool AllowMouseWheel { get; set; }
vb
<DefaultValue(True)>
Public Overridable Property AllowMouseWheel As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the editor’s value can be changed via the mouse wheel when the editor is focused; otherwise, false.

|

Remarks

When an editor has focus and the AllowMouseWheel property is set to true, an end-user can change the editor’s value by using the mouse wheel. In this case, each mouse wheel action (up or down) changes the editor’s value.

Set the AllowMouseWheel property to false to disable changing the editor’s value using the mouse wheel.

Note

The AllowMouseWheel property synchronizes its value with the editor’s ButtonEditPropertiesBase.AllowMouseWheel property.

See Also

ButtonEdit

ButtonEditPropertiesBase Class

ButtonEditPropertiesBase Members

DevExpress.Web Namespace