windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-53a7da2b.md
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
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowZoom { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property AllowZoom As DefaultBoolean
| 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
|
Users can zoom pictures in the following cases:
AllowZoom property is set to Default and RepositoryItemPictureEdit.ShowScrollBars is set to true.AllowZoom property is set to true.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
RepositoryItemPictureEdit Class