Skip to main content
A newer version of this page is available. .

RepositoryItemPictureEdit.AllowScrollOnMouseWheel Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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.AllowZoomOnMouseWheel). 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowScrollOnMouseWheel property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also