Search
Button Methods
 


 Public Methods

  Name Description

AddToRepaintRect

Manipulator.AddToRepaintRect override.

Apply

Calls OnClick with argument transformed to local coordinates if necessary. (Inherited from Manipulator.)

Cancel

Called when the manipulator should cancel the current manipulation. (Inherited from Manipulator.)

Draw

Manipulator.Draw override.

DrawsInLocalCoordinates

Returns whether the manipulator object draws in local or global coordinates. (Inherited from Manipulator.)

HitTest

Manipulator.HitTest override.

NeedsMouseMessages

Manipulator.NeedsMouseMessages override.

OnClick

Manipulator.HitTest override.

OnGotFocus

Manipulator.OnGotFocus override.

OnKeyDown

Manipulator.OnKeyDown override.

OnKeyPress

Called when a character key is pressed when this manipulator has the input focus. (Inherited from Manipulator.)

OnLostFocus

Manipulator.OnLostFocus override.

OnMouseDown

Manipulator.OnMouseDown override.

OnMouseMove

Manipulator.OnMouseMove override.

OnMouseUp

Manipulator.OnMouseUp override.

OnZoomChanged

Called when the zoom factor in the diagram containing the manipulator has changed. (Inherited from Manipulator.)

SetMouseCursor

Returns the cursor that should be displayed when the mouse pointer is over this manipulator. (Inherited from Manipulator.)

SupportClipping

Manipulator.SupportClipping override.

 Protected Methods

  Name Description

GetBounds

Gets the absolute bounding rectangle of this manipulator.

GetImage

Gets the image from the button's image list corresponding to the current state of the button.

Invalidate

Invalidates the appearance of the manipulator.

OnClicked

Raises the Clicked event.

OnCustomDraw

Raises the CustomDraw event.

OnIsEnabledChanged

Manipulator.OnIsEnabledChanged override.

 See Also