Back to Devexpress

DiagramOptionsBehavior.AllowMiddleButtonDrag Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsbehavior-7e8b408e.md

latest1.7 KB
Original Source

DiagramOptionsBehavior.AllowMiddleButtonDrag Property

Specifies whether to enable diagram panning on the middle mouse button.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true , to enable diagram panning on the middle mouse button; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowMiddleButtonDrag
DiagramControl

.OptionsBehavior .AllowMiddleButtonDrag

|

See Also

DiagramOptionsBehavior Class

DiagramOptionsBehavior Members

DevExpress.XtraDiagram.Options Namespace