Back to Devexpress

DiagramOptionsBehavior.PointerToolDragMode Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsbehavior-835dd52c.md

latest2.0 KB
Original Source

DiagramOptionsBehavior.PointerToolDragMode Property

Gets or sets whether dragging the pointer tool pans across the canvas or draws the selection rectangle.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(PointerToolDragMode.Selection)]
public virtual PointerToolDragMode PointerToolDragMode { get; set; }
vb
<DefaultValue(PointerToolDragMode.Selection)>
Public Overridable Property PointerToolDragMode As PointerToolDragMode

Property Value

TypeDefaultDescription
PointerToolDragModeSelection

A PointerToolDragMode enumeration value.

|

Available values:

NameDescription
Selection

Dragging the pointer draws the selection rectangle.

| | Pan |

Dragging the pointer pans across the canvas.

| | DoNothing |

Dragging the pointer does not perform any action.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PointerToolDragMode
DiagramControl

.OptionsBehavior .PointerToolDragMode

|

See Also

DiagramOptionsBehavior Class

DiagramOptionsBehavior Members

DevExpress.XtraDiagram.Options Namespace