Skip to main content
All docs
V24.1

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowZoom { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

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

Available values:

Name Description Return 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