共用方式為


DecoratorHostShape.OnClick Method

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

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

Syntax

'宣告
Public Overrides Sub OnClick ( _
    e As DiagramPointEventArgs _
)
public override void OnClick(
    DiagramPointEventArgs e
)
public:
virtual void OnClick(
    DiagramPointEventArgs^ e
) override
abstract OnClick : 
        e:DiagramPointEventArgs -> unit 
override OnClick : 
        e:DiagramPointEventArgs -> unit 
public override function OnClick(
    e : DiagramPointEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

DecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace