Search
Manipulator Members
Constructors Properties Methods
 


Base class for 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.

 Public Properties

  Name Description

Focusable

Gets or sets a value indicating whether this manipulator can receive input focus.

IsEnabled

Gets or sets a value indicating whether this manipulator is enabled and can be interacted with.

Item

Gets the target item of this manipulator. is attached to.

 Protected Properties

  Name Description

IsFocused

Gets or sets a value indicating whether the manipulator currently holds the input focus.

 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

Checks whether the specified point lies within the manipulator's boundaries.

NeedsMouseMessages

Returns whether the manipulator object needs to track mouse events.

OnClick

Runs the action associated with this manipulator.

OnGotFocus

Called when the manipulator receives input focus.

OnKeyDown

Called when a key is pressed when this manipulator has the input focus.

OnKeyPress

Called when a character key is pressed when this manipulator has the input focus.

OnLostFocus

Called when the manipulator loses the input focus.

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.

OnZoomChanged

Called when the zoom factor in the diagram containing the manipulator has changed.

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.

 Protected Methods

  Name Description

OnIsEnabledChanged

Called when IsEnabled changes.

 See Also