Occurs when the user clicks the mouse.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Event Click As DiagramPointEventHandler
'使用
Dim instance As ShapeElement
Dim handler As DiagramPointEventHandler
AddHandler instance.Click, handler
public event DiagramPointEventHandler Click
public:
event DiagramPointEventHandler^ Click {
void add (DiagramPointEventHandler^ value);
void remove (DiagramPointEventHandler^ value);
}
JScript does not support events.
Permissions
- 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.