Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(PointerToolDragMode.Selection)]
public virtual PointerToolDragMode PointerToolDragMode { get; set; }

Property Value

Type Default Description
PointerToolDragMode Selection

A PointerToolDragMode enumeration value.

Available values:

Name Description
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 Type Path to PointerToolDragMode
DiagramControl
.OptionsBehavior .PointerToolDragMode
See Also