DragCompletedState.Next Method
Returns the next MouseAction state. Valid next states are: (1) HoveringState, if the current MouseAction event is Continue; (2) ActionCanceledState, if the current MouseAction event is Cancel; (3) ActionCompletedState, if the current MouseAction event is Complete; (4) this state, for all other events.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Overrides Function Next ( _
mouseAction As MouseAction _
) As MouseActionState
public override MouseActionState Next(
MouseAction mouseAction
)
public:
virtual MouseActionState^ Next(
MouseAction^ mouseAction
) override
abstract Next :
mouseAction:MouseAction -> MouseActionState
override Next :
mouseAction:MouseAction -> MouseActionState
public override function Next(
mouseAction : MouseAction
) : MouseActionState
Parameters
- mouseAction
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseAction
The MouseAction containing information to determine the next state. The information includes: (1) the current MouseAction event, and (2) the current mouse position.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.