Udostępnij za pośrednictwem


MouseAction.CaptureMouse(DiagramClientView) Method

Definition

Captures the mouse.

protected:
 void CaptureMouse(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
protected void CaptureMouse (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
member this.CaptureMouse : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Protected Sub CaptureMouse (diagramClientView As DiagramClientView)

Parameters

diagramClientView
DiagramClientView

The DiagramClientView attempting to capture the mouse.

Remarks

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

Applies to