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.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowZoom { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
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
Users can zoom pictures in the following cases:
- The
AllowZoom
property is set toDefault
and RepositoryItemPictureEdit.ShowScrollBars is set totrue
. - The
AllowZoom
property is set totrue
.
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.