Class RealtimeDragSelectingTool

GoDiagram®
v10.0.8
by Northwoods Software®

The RealtimeDragSelectingTool class lets the user select and deselect Parts within the Box during a drag, not just at the end of the drag.

Inheritance
RealtimeDragSelectingTool
Namespace: Northwoods.Go.Tools.Extensions
Assembly: RealtimeDragSelectingWinForms.dll
Syntax
public class RealtimeDragSelectingTool : DragSelectingTool

Constructors

RealtimeDragSelectingTool()

Constructs a RealtimeDragSelectingTool.

Declaration
public RealtimeDragSelectingTool()

Methods

DoActivate()

Remember the original collection of selected Parts.

Declaration
public override void DoActivate()
Overrides

DoCancel()

Restore the selection which may have been modified during a drag.

Declaration
public override void DoCancel()
Overrides

DoDeactivate()

Release any references to selected Parts.

Declaration
public override void DoDeactivate()
Overrides

DoKeyDown()

Select Parts within the bounds of the drag-select box.

Declaration
public override void DoKeyDown()
Overrides

DoKeyUp()

Select Parts within the bounds of the drag-select box.

Declaration
public override void DoKeyUp()
Overrides

DoMouseMove()

Select Parts within the bounds of the drag-select box.

Declaration
public override void DoMouseMove()
Overrides

SelectInRect(Rect)

For a given rectangle, select Parts that are within that rectangle.

Declaration
public override void SelectInRect(Rect r)
Parameters
Type Name Description
Rect r

rectangular bounds in document coordinates.

Overrides