Export (0) Print
Expand All

AnchorPointAction Class

The MouseAction that manually routes LinkShapes by manipulating their LineSegments.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public class AnchorPointAction : SelectAction

The AnchorPointAction type exposes the following members.

  NameDescription
Public methodAnchorPointActionInitializes a new instance of the ManualRouteAction class.
Top

  NameDescription
Public propertyCanBumpScrollGets the mouse action and verifies whether it can cause the diagram to scroll. (Inherited from MouseAction.)
Public propertyCurrentDiagramArgsGets the event arguments for the current diagram in which the mouse action occurred. (Inherited from MouseAction.)
Public propertyCurrentMouseActionEventGets the current event for the mouse action. (Inherited from MouseAction.)
Public propertyCurrentMouseActionStateGets the current state for the mouse action. (Inherited from MouseAction.)
Public propertyCurrentPointGets or sets the mouse position for the current mouse action. (Inherited from MouseAction.)
Protected propertyDeferredFocusableItem (Inherited from SelectAction.)
Protected propertyDeferredSelectableItem (Inherited from SelectAction.)
Protected propertyDiagramGets the diagram to which the mouse action is assigned. (Inherited from MouseAction.)
Public propertyHasTooltipGets the mouse action and verifies whether it can have a tooltip. (Inherited from MouseAction.)
Public propertyIsActiveGets the mouse action and verifies whether it is active. (Inherited from MouseAction.)
Public propertyMouseDownHitShapeGets shape over which the mouse action occurred. (Inherited from MouseAction.)
Public propertyMouseDownPointGets the position of the most recent mouse-down event. (Inherited from MouseAction.)
Public propertyPreviousPointGets or sets the position of the previous mouse-down event. (Inherited from MouseAction.)
Public propertyResetToolboxOnDragDropWhether to reset toolbox selection after a drag-drop operation triggered by this mouse action. Base implementation always returns true, which means the toolbox selection will be reset after a drag-drop operation triggered by this mouse action. (Inherited from MouseAction.)
Top

  NameDescription
Public methodActivateActivates the mouse action. (Inherited from MouseAction.)
Public methodCanCancelGets the mouse action and verifies whether it can be canceled. (Inherited from MouseAction.)
Public methodCancelCancels the mouse action. (Inherited from MouseAction.)
Public methodCanCompleteGets the mouse action and verifies whether it can be completed. (Inherited from MouseAction.)
Protected methodCaptureMouseGets the mouse action. (Inherited from MouseAction.)
Public methodClickPerforms actions for derived classes when the mouse is clicked. (Inherited from MouseAction.)
Public methodCompleteCompletes the mouse action. (Inherited from MouseAction.)
Public methodContextMenuRequestedSends a request for the shortcut menu. (Inherited from MouseAction.)
Public methodDispose()Releases all resources used by the MouseAction. (Inherited from MouseAction.)
Protected methodDispose(Boolean) (Overrides MouseAction.Dispose(Boolean).)
Public methodDoPaintFeedbackDraws the manual routing feedback. (Overrides MouseAction.DoPaintFeedback(DiagramPaintEventArgs).)
Public methodDoubleClickPerforms actions for derived classes when a user double-clicks the mouse. (Inherited from MouseAction.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeFinalizes the mouse action but does not dispose it. (Inherited from MouseAction.)
Public methodGetCursorGets the cursor to display at the specified mouse position. (Overrides MouseAction.GetCursor(Cursor, DiagramClientView, PointD).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTooltipTextGets the tooltip text for an item on the diagram. (Inherited from MouseAction.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGotFocusAssigns the focus to the mouse action. (Inherited from MouseAction.)
Protected methodInvalidateInvalidates the feedback from the mouse action. (Inherited from MouseAction.)
Public methodLostFocusRemoves focus from the mouse action. (Inherited from MouseAction.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMouseDownPerforms actions for derived classes when a user clicks the mouse. (Inherited from MouseAction.)
Public methodMouseEnterPerforms actions for derived classes when the mouse points to a shape in the diagram. (Inherited from MouseAction.)
Public methodMouseHoverPerforms actions for derived classes when the user points to an area or an element in the diagram. (Inherited from MouseAction.)
Public methodMouseLeavePerforms actions for derived classes when the mouse no longer points to the shape in the diagram. (Inherited from MouseAction.)
Public methodMouseMovePerforms actions for derived classes when the user moves the mouse over the diagram. (Inherited from MouseAction.)
Public methodMouseUpPerforms actions for derived classes when the user releases the mouse button. (Inherited from MouseAction.)
Public methodMouseWheelPerforms actions for derived classes when the user rotates the mouse wheel. (Inherited from MouseAction.)
Protected methodOnClickedPerforms any deferred select action if the deferredSelection member is set. (Inherited from SelectAction.)
Protected methodOnContextMenuRequestedCompletes the select action first so that the context menu has a valid selection to work with. (Inherited from SelectAction.)
Protected methodOnDiagramGotFocusAlerts listeners that the diagram has the focus. (Inherited from MouseAction.)
Protected methodOnDiagramLostFocusCancels the MouseAction. (Overrides SelectAction.OnDiagramLostFocus(LostFocusEventArgs).)
Protected methodOnDiagramScrolledAlerts listeners that the user has scrolled the diagram. (Inherited from MouseAction.)
Protected methodOnDoubleClickAlerts listeners that the user has double-clicked the mouse. (Inherited from MouseAction.)
Protected methodOnDragCanceledAlerts listeners that the drag operation has been canceled. (Inherited from MouseAction.)
Protected methodOnDragCompletedPerforms the manual route. (Overrides MouseAction.OnDragCompleted(MouseActionEventArgs).)
Protected methodOnDraggingBegunAlerts listeners that the drag operation has begun. (Inherited from MouseAction.)
Protected methodOnDraggingEndedAlerts listeners that the drag operation has ended. (Inherited from MouseAction.)
Protected methodOnDragPendingBegunAlerts listeners that the drag operation is pending. (Inherited from MouseAction.)
Protected methodOnDragPendingEndedAlerts listeners that the drag operation is no longer pending. (Inherited from MouseAction.)
Protected methodOnHoveringBegunAlerts listeners that the mouse is hovering over the diagram. (Inherited from MouseAction.)
Protected methodOnHoveringEndedAlerts listeners that the mouse is no longer hovering over the diagram. (Inherited from MouseAction.)
Protected methodOnMouseActionActivatedAlerts listeners that the mouse action has begun. (Inherited from MouseAction.)
Protected methodOnMouseActionCanceledInvalidates the old feedback. (Overrides MouseAction.OnMouseActionCanceled(DiagramEventArgs).)
Protected methodOnMouseActionCompletedAlerts listeners that the mouse action has completed. (Inherited from MouseAction.)
Protected methodOnMouseActionDeactivatedCleans up any member variables, such as the deferredSelection member. (Inherited from SelectAction.)
Protected methodOnMouseDownSaves the starting mouse position. (Overrides SelectAction.OnMouseDown(DiagramMouseEventArgs).)
Protected methodOnMouseEnterAlerts listeners that the mouse has moved over a shape in the diagram. (Inherited from MouseAction.)
Protected methodOnMouseHoverAlerts listeners that the mouse is pointing to an area or an element in the diagram. (Inherited from MouseAction.)
Protected methodOnMouseLeaveAlerts listeners that the mouse is no longer over the shape in the diagram. (Inherited from MouseAction.)
Protected methodOnMouseMoveInvalidates the old and new feedback. (Overrides MouseAction.OnMouseMove(DiagramMouseEventArgs).)
Protected methodOnMouseUpAlerts listeners that the user has released the mouse button. (Inherited from MouseAction.)
Protected methodOnMouseWheelAlerts listeners that the user has rotated the mouse wheel. (Inherited from MouseAction.)
Protected methodReleaseMouseAlerts listeners that the user has released the mouse button. (Inherited from MouseAction.)
Public methodScrolledAlerts listeners that the user has scrolled the diagram. (Inherited from MouseAction.)
Protected methodSelectSelects the first selectable diagram item (shape, field, or subfield) under the mouse cursor and sets focus to the first item that can receive focus. (Inherited from SelectAction.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventMouseActionActivatedOccurs when a mouse action starts. (Inherited from MouseAction.)
Public eventMouseActionDeactivatedOccurs when a mouse action ends. (Inherited from MouseAction.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft