combit List & Label 30 - .NET Help
combit.Reporting Namespace / ListLabel Class / DrawObject Event


DrawObject Event

The event DrawObject is called for each object displayed by List & Label. The event arguments provide a Graphics object as well as the rectangle of the object.

Syntax
'Declaration
 
Public Event DrawObject As DrawObjectHandler
 
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.

PropertyDescription

Internal callback data.

 

Rectangle of the object.

 

Graphics object. You can draw in the work space using the usual GDI + methods.

 

Allows you to hide the object.

 

Is true if called before drawing the object, else false.

 

Name of the object.

 

Type of the object.

 
 
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