Back to Devexpress

RepositoryItemPictureEdit.AllowZoom Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-53a7da2b.md

latest3.2 KB
Original Source

RepositoryItemPictureEdit.AllowZoom Property

Gets or sets whether users can use the mouse wheel and touch gestures to zoom pictures.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowZoom { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property AllowZoom As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true if users can use the mouse wheel and touch gestures to zoom pictures; otherwise, false.

|

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

Users can zoom pictures in the following cases:

You can use the RepositoryItemPictureEdit.ZoomAcceleration property to specify the zoom speed.

Use the RepositoryItemPictureEdit.ZoomingOperationMode property to specify whether the CTRL modifier key should be pressed to zoom with 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