Partager via


InactiveState.Next(MouseAction) Method

Definition

Returns the next MouseAction state. Valid next states are: (1) HoveringState, if the current MouseAction event is Activate; (2) DragPendingState, if the current MouseAction event is MouseDown; (3) this state, for all other events.

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