DraggingState::Next Method (MouseAction^)

 

Returns the next MouseAction state. Valid next states are: (1) DragCompletedState, if the current MouseAction event is MouseUp or Complete; (2) DragCanceledState, if the current MouseAction event is Cancel; (3) this 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)

public:
virtual MouseActionState^ Next(
	MouseAction^ mouseAction
) override

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 to top
Show: