MouseAction.CaptureMouse Method
Gets the mouse action.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
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.DiagramClientView
The 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.