Back to Devexpress

RepositoryItemPictureEdit.AllowScrollOnMouseWheel Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-5964c5c4.md

latest3.1 KB
Original Source

RepositoryItemPictureEdit.AllowScrollOnMouseWheel Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowScrollOnMouseWheel { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property AllowScrollOnMouseWheel As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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

ShowScrollBars

AllowZoom

ZoomingOperationMode

RepositoryItemPictureEdit Class

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace