Delen via


DragCanceledState.Next Method

Returns the next MouseAction state. Valid next states are: (1) HoveringState, if the current MouseAction state is Continue; (2) ActionCanceledState, if the current MouseAction state is Cancel; (3) ActionCompletedState, if the current MouseAction state is Complete; (4) state, for all other events.

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

Syntax

'Declaration
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState

.NET Framework Security

See Also

Reference

DragCanceledState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace