Search
Manipulator Members
Constructors Properties Methods
 


Base class for interactive manipulators, which are user interface elements attached to a diagram item. The user can perform various manipulations on objects through their attached manipulators.

The following tables list the members exposed by the Manipulator type.

 Protected Constructors

  Name Description

Manipulator

Initializes a new instance of the Manipulator class.

 Protected Properties

  Name Description

Item

Gets or sets the item this manipulator is attached to.

 Public Methods

  Name Description

AddToRepaintRect

Adds the manipulator's repaint area to the specified rectangle.

Apply

Calls OnClick with argument transformed to local coordinates if necessary.

Cancel

Called when the manipulator should cancel the current manipulation.

Draw

Renders the manipulator.

DrawsInLocalCoordinates

Returns whether the manipulator object draws in local or global coordinates.

HitTest

Tests if the specified point lies within the manipulator's boundaries.

NeedsMouseMessages

Returns whether the manipulator object needs to track mouse events.

OnClick

Performs the action associated with this manipulator.

OnMouseDown

Called when the left mouse button is pressed while the pointer is over this manipulator.

OnMouseMove

Called when the mouse is moved while this manipulator tracks the mouse events.

OnMouseUp

Called when the left mouse button is released while this manipulator tracks the mouse events.

SetMouseCursor

Returns the cursor that should be displayed when the mouse pointer is over this manipulator.

SupportClipping

Gets a value indicating whether the manipulator supports clipping.

 See Also