InactiveState Class
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.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState
Microsoft.VisualStudio.Modeling.Diagrams.InactiveState
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Class InactiveState _
Inherits MouseActionState
public class InactiveState : MouseActionState
public ref class InactiveState : public MouseActionState
type InactiveState =
class
inherit MouseActionState
end
public class InactiveState extends MouseActionState
The InactiveState type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InactiveState | Initializes a new instance of the InactiveState class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Next | 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. (Overrides MouseActionState.Next(MouseAction).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.