Visual Basic (Declaration) | |
---|---|
Public Event ScreenSizeChanged As EventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Vt Dim handler As EventHandler AddHandler instance.ScreenSizeChanged, handler |
C# | |
---|---|
public event EventHandler ScreenSizeChanged |
Managed Extensions for C++ | |
---|---|
public: __event EventHandler* ScreenSizeChanged |
C++/CLI | |
---|---|
public: event EventHandler^ ScreenSizeChanged |
When the Vt control receives an instruction to change the value of the Rows or Columns, the Vt control first changes the value of this property, then raises the ScreenSizeChanged event. To override this change, simply implement this event and set the property when the event is raised.
Target Platforms: Microsoft .NET Framework 2.0