windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-5964c5c4.md
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
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowScrollOnMouseWheel { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property AllowScrollOnMouseWheel As DefaultBoolean
| 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
|
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
RepositoryItemPictureEdit Class