MouseAction.CaptureMouse Method
Gets the mouse action.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Sub CaptureMouse ( _
diagramClientView As DiagramClientView _
)
protected void CaptureMouse(
DiagramClientView diagramClientView
)
protected:
void CaptureMouse(
DiagramClientView^ diagramClientView
)
member CaptureMouse :
diagramClientView:DiagramClientView -> unit
protected function CaptureMouse(
diagramClientView : DiagramClientView
)
Parameters
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe client view for the diagram.
Remarks
Calls to CaptureMouse can be nested. The capture is only released on the outermost ReleaseMouse.
.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.