ShapeField.OnClick Method
Alerts listeners when the user has clicked a shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Sub OnClick ( _
e As DiagramPointEventArgs _
)
public virtual void OnClick(
DiagramPointEventArgs e
)
public:
virtual void OnClick(
DiagramPointEventArgs^ e
)
abstract OnClick :
e:DiagramPointEventArgs -> unit
override OnClick :
e:DiagramPointEventArgs -> unit
public function OnClick(
e : DiagramPointEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
The arguments to use when an event over a point on the diagram has occurred.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.