Share via


ActionCanceledState.Next(MouseAction) Method

Definition

Returns the next MouseAction state. The only valid next state is the InactiveState.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::MouseActionState ^ Next(Microsoft::VisualStudio::Modeling::Diagrams::MouseAction ^ mouseAction);
public override Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState Next (Microsoft.VisualStudio.Modeling.Diagrams.MouseAction mouseAction);
override this.Next : Microsoft.VisualStudio.Modeling.Diagrams.MouseAction -> Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState
Public Overrides Function Next (mouseAction As MouseAction) As MouseActionState

Parameters

mouseAction
MouseAction

The MouseAction containing information to determine the next state. The information includes: (1) the current MouseAction event, and (2) the current mouse position.

Returns

The next MouseAction state.

Applies to