Share via


DecoratorHostShape.OnMouseDown Method

Overrides OnMouseDown to forward events to parent shape if ForwardEventsToParent == true.

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

Syntax

'Declaration
Public Overrides Sub OnMouseDown ( _
    e As DiagramMouseEventArgs _
)
public override void OnMouseDown(
    DiagramMouseEventArgs e
)
public:
virtual void OnMouseDown(
    DiagramMouseEventArgs^ e
) override
abstract OnMouseDown : 
        e:DiagramMouseEventArgs -> unit  
override OnMouseDown : 
        e:DiagramMouseEventArgs -> unit
public override function OnMouseDown(
    e : DiagramMouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

DecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace