Share via


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

Remarks

Calls to CaptureMouse can be nested. The capture is only released on the outermost ReleaseMouse.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace