共用方式為


AnchorPointAction.OnMouseDown Method

Saves the starting mouse position.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Protected Overrides Sub OnMouseDown ( _
    e As DiagramMouseEventArgs _
)
protected override void OnMouseDown(
    DiagramMouseEventArgs e
)
protected:
virtual void OnMouseDown(
    DiagramMouseEventArgs^ e
) override
abstract OnMouseDown : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseDown : 
        e:DiagramMouseEventArgs -> unit 
protected override function OnMouseDown(
    e : DiagramMouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

AnchorPointAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace