Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- sender
- e
When the UserDraw event is raised, the Rectangle does not perform its normal painting, but simply raises the event.
The event passes the device context, the Rectangle’s coordinates, Layer, Element, and UserLong.