Skip to main content
Tab

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.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

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