ConnectAction Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Mouse action that allows user to drag from one SoftwareComponentType shape or Port shape to another in order to create a connection.
public ref class ConnectAction abstract : Microsoft::VisualStudio::Modeling::Diagrams::SelectAction
public abstract class ConnectAction : Microsoft.VisualStudio.Modeling.Diagrams.SelectAction
type ConnectAction = class
inherit SelectAction
Public MustInherit Class ConnectAction
Inherits SelectAction
- Inheritance
- Derived
Connect |
Initializes a new instance of the ConnectAction class |
Can |
Called when a MouseMove event has been dispatched to this MouseAction. (Inherited from MouseAction) |
Current |
Gets the latest DiagramEventArgs. A null value may be returned. (Inherited from MouseAction) |
Current |
Gets the current MouseAction event. (Inherited from MouseAction) |
Current |
Gets the current MouseAction state. (Inherited from MouseAction) |
Current |
Gets/Sets the mouse position for the current event. The position is in world units relative to the diagram's top-left. (Inherited from MouseAction) |
Deferred |
Gets the item that will become the selection's focused item if and when the OnClicked event occurs. (Inherited from SelectAction) |
Deferred |
Gets the item that the selection will be set to if and when the OnClicked event occurs. (Inherited from SelectAction) |
Diagram |
The Diagram to which this MouseAction belongs. (Inherited from MouseAction) |
Has |
Gets whether this mouse action supports dynamic tooltip. (Inherited from MouseAction) |
Is |
Gets a value indicating whether this MouseAction is currently active. (Inherited from MouseAction) |
Mouse |
Gets the hit shape of the most recent MouseDown event. (Inherited from MouseAction) |
Mouse |
Gets the mouse position of the most recent MouseDown event. The position is in world units relative to the diagram's top-left. (Inherited from MouseAction) |
Previous |
Gets/Sets the mouse position of the previous event. The position is in world units relative to the diagram's top-left. (Inherited from MouseAction) |
Reset |
Whether 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) |
Sticky |
Gets/Sets a bool indicating if the connect action can perform multiple connections or not. |
Target |
|
Update |
External events can determine if connection type should be locked during connect action |
Activate(Diagram |
Activates this MouseAction. (Inherited from MouseAction) |
Can |
Gets a value indicating whether this MouseAction can be canceled. (Inherited from MouseAction) |
Cancel(Diagram |
Cancels this MouseAction. (Inherited from MouseAction) |
Can |
Gets a value indicating whether this MouseAction can be completed. (Inherited from MouseAction) |
Capture |
Captures the mouse. (Inherited from MouseAction) |
Click(Diagram |
Called by the DiagramClientView to dispatch a Click event to this MouseAction. (Inherited from MouseAction) |
Complete(Diagram |
Completes this MouseAction. (Inherited from MouseAction) |
Context |
Called by the DiagramClientView to dispatch a ContextMenu event to this MouseAction. (Inherited from MouseAction) |
Dispose() | (Inherited from MouseAction) |
Dispose(Boolean) | |
Do |
Feedbacks usefull information during connect action |
Double |
Called by the DiagramClientView to dispatch a DoubleClick event to this MouseAction. (Inherited from MouseAction) |
Get |
Determine from source if a specific connection type exits |
Get |
Returns the connect action cursor |
Get |
|
Get |
Gets tooltip text for specified diagram item if HasTooltip returned true. (Inherited from MouseAction) |
Got |
Called by the DiagramClientView to dispatch a GotFocus event to this MouseAction. (Inherited from MouseAction) |
Invalidate(Diagram |
Called by this MouseAction to invalidate its feedback. (Inherited from MouseAction) |
Lost |
Called by the DiagramClientView to dispatch a LostFocus event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a MouseDown event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a MouseEnter event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a MouseHover event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a MouseLeave event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a MouseMove event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a MouseUp event to this MouseAction. (Inherited from MouseAction) |
Mouse |
Called by the DiagramClientView to dispatch a ContextMenuRequested event to this MouseAction. (Inherited from MouseAction) |
On |
|
On |
Should cancel connect action on context menu as it throws exceptions otherwise because target and source elements could be null in this case. |
On |
Called when a GotFocus event has been dispatched to this MouseAction. (Inherited from MouseAction) |
On |
Cancels the action if the view loses the focus. (Inherited from SelectAction) |
On |
Called when a Scrolled event has been dispatched to this MouseAction. |
On |
Called when a DoubleClick event has been dispatched to this MouseAction. (Inherited from MouseAction) |
On |
Called when this MouseAction's drag operation has been canceled. (Inherited from MouseAction) |
On |
|
On |
|
On |
Called when this MouseAction has exited the dragging state. (Inherited from MouseAction) |
On |
Called when this MouseAction has entered the drag/click-pending state. (Inherited from MouseAction) |
On |
Called when this MouseAction has exited the drag/click-pending state. (Inherited from MouseAction) |
On |
Called when this MouseAction has entered the hovering state. (Inherited from MouseAction) |
On |
Called when this MouseAction has exited the hovering state. (Inherited from MouseAction) |
On |
|
On |
|
On |
Called when the MouseAction has completed and is ready to be deactivated. (Inherited from MouseAction) |
On |
|
On |
|
On |
Called when a MouseEnter event has been dispatched to this MouseAction. (Inherited from MouseAction) |
On |
Called when a MouseHover event has been dispatched to this MouseAction. (Inherited from MouseAction) |
On |
|
On |
|
On |
|
On |
Called when a MouseWheel event has been dispatched to this MouseAction. (Inherited from MouseAction) |
Release |
Releases the mouse capture. (Inherited from MouseAction) |
Scrolled(Diagram |
Called by the DiagramClientView to dispatch a Scrolled event to this MouseAction. (Inherited from MouseAction) |
Select(Diagram |
Selects 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) |
Mouse |
Occurs when the MouseAction is activated. (Inherited from MouseAction) |
Mouse |
Occurs when the MouseAction is deactivated. (Inherited from MouseAction) |