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. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Remarks
Scrolling using the mouse wheel can be performed in the following cases:
- the AllowScrollOnMouseWheel property is set to Default and the RepositoryItemPictureEdit.ShowScrollBars is set to true;
- the AllowScrollOnMouseWheel property is set to True.
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.