Back to Devexpress

RepositoryItemPictureEdit.AllowZoomOnMouseWheel Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-3d30b3a9.md

latest3.6 KB
Original Source

RepositoryItemPictureEdit.AllowZoomOnMouseWheel Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public DefaultBoolean AllowZoomOnMouseWheel { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property AllowZoomOnMouseWheel As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumeration value that specifies whether it is allowed to zoom 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

Note

Use the RepositoryItemPictureEdit.AllowZoom property instead.

Zooming using the mouse wheel can be performed in the following cases:

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.

See Also

ZoomingOperationMode

AllowScrollOnMouseWheel

ShowScrollBars

ZoomAcceleration

ZoomPercent

RepositoryItemPictureEdit Class

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace