RepositoryItemPictureEdit.AllowZoomOnMouseWheel Property
Gets or sets whether it is allowed to zoom pictures using the mouse wheel.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowZoomOnMouseWheel { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A DefaultBoolean enumeration value that specifies whether it is allowed to zoom 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
Zooming using the mouse wheel can be performed in the following cases:
- the AllowZoomOnMouseWheel property is set to Default and the RepositoryItemPictureEdit.ShowScrollBars is set to true;
- the AllowZoomOnMouseWheel property is set to True.
If zooming using the mouse wheel is enabled, you can adjust the zoom speed by the RepositoryItemPictureEdit.ZoomAcceleration property.
Use the RepositoryItemPictureEdit.ZoomingOperationMode property to specify whether the CTRL modifier key should be pressed to perform zooming using the mouse wheel.
The RepositoryItemPictureEdit.AllowScrollOnMouseWheel property allows you to enable scrolling with the mouse wheel.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowZoomOnMouseWheel 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.