Udostępnij za pośrednictwem


DraggingState.Next(MouseAction) Method

Definition

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.

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