'Declaration
Public Event DrawObject As DrawObjectHandler
public event DrawObjectHandler DrawObject
public: event DrawObjectHandler^ DrawObject
Event Data
The event handler receives an argument of type DrawObjectEventArgs containing data related to this event. The following DrawObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CallbackData | Internal callback data. |
ClipRectangle | Rectangle of the object. |
Graphics | Graphics object. You can draw in the work space using the usual GDI + methods. |
HideObject | Allows you to hide the object. |
IsBeforePaint | Is true if called before drawing the object, else false. |
Name | Name of the object. |
ObjectType | Type of the object. |
ObjFinished |
Requirements
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9
See Also