DragPendingState.Next(MouseAction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the next MouseAction state. Valid next states are: (1) DraggingState, if the user has moved the mouse far enough to invoke a drag; (2) ClickedState, if the user has lifted up on the mouse button without moving it far enough to invoke a drag; (3) DragCanceledState, if the current MouseAction state is Cancel; (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.