다음을 통해 공유


InactiveState Class

Definition

The MouseAction state that indicates that the MouseAction is not in use. When a MouseAction is first created, it is in an inactive state. The MouseAction must be activated before it can be used. After a MouseAction completes or has been canceled, it is once again inactivated.

public ref class InactiveState : Microsoft::VisualStudio::Modeling::Diagrams::MouseActionState
public class InactiveState : Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState
type InactiveState = class
    inherit MouseActionState
Public Class InactiveState
Inherits MouseActionState
Inheritance
InactiveState

Constructors

InactiveState()

Initializes a new instance of the InactiveState class.

Methods

Next(MouseAction)

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.

Applies to