Skip to main content

RepositoryItemPictureEdit.AllowScrollOnMouseWheel Property

Gets or sets whether it is allowed to scroll pictures using the mouse wheel.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowScrollOnMouseWheel { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration value that specifies whether it is allowed to scroll pictures using the mouse wheel.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

Scrolling using the mouse wheel can be performed in the following cases:

The mouse wheel can also be used to zoom pictures (see RepositoryItemPictureEdit.AllowZoom). By default, zooming is performed if the CTRL modifier key is pressed (see RepositoryItemPictureEdit.ZoomingOperationMode), scrolling is performed if no modifier key is pressed. If no modifier key is required to zoom pictures, scrolling using the mouse wheel cannot be performed.

See Also