Back to Devexpress

DiagramOptionsProtection.AllowZoom Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsprotection-635450bc.md

latest1.9 KB
Original Source

DiagramOptionsProtection.AllowZoom Property

Gets or sets whether to allow the end-user to change the diagram zoom factor.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(true)]
[DiagramCategory(DiagramCategory.Protection)]
public virtual bool AllowZoom { get; set; }
vb
<DefaultValue(True)>
<DiagramCategory(DiagramCategory.Protection)>
Public Overridable Property AllowZoom As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to allow the end-user to change the diagram zoom factor; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowZoom
DiagramControl

.OptionsProtection .AllowZoom

|

Remarks

If the AllowZoom property is set to false , the Bottom Panel does not show the current zoom percentage.

See Also

DiagramOptionsProtection Class

DiagramOptionsProtection Members

DevExpress.XtraDiagram.Options Namespace