DiagramView.ActiveMouseAction Property
Gets or sets the active mouse action for this DiagramView.
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 Property ActiveMouseAction As MouseAction
Get
Set
public MouseAction ActiveMouseAction { get; set; }
public:
property MouseAction^ ActiveMouseAction {
MouseAction^ get ();
void set (MouseAction^ value);
}
member ActiveMouseAction : MouseAction with get, set
function get ActiveMouseAction () : MouseAction
function set ActiveMouseAction (value : MouseAction)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseAction
Remarks
A mouse action is a modal mouse operation such as the connector tool or the zoom tool. To install a mouse action, set this property to a MouseAction derived class. The mouse action will automatically be activated. To uninstall a mouse action, either allow the mouse action to run its course or explicitly set this property to null or to another mouse action. If the current mouse action is still active when this property is set, then the current mouse action is automatically canceled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.