Visual Basic (Declaration) | |
---|---|
Public Event Expanded As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AutoHidePanel Dim handler As EventHandler AddHandler instance.Expanded, handler |
C# | |
---|---|
public event EventHandler Expanded |
Managed Extensions for C++ | |
---|---|
public: __event EventHandler* Expanded |
C++/CLI | |
---|---|
public: event EventHandler^ Expanded |