次の方法で共有


DragCompletedState.Next(MouseAction) Method

Definition

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.

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