RepositoryItemPictureEdit.AllowZoomOnMouseWheel Property
Gets or sets whether it is allowed to zoom pictures using the mouse wheel.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
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 | 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
Note
Use the RepositoryItemPictureEdit.AllowZoom property instead.
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.