combit List & Label 24 - .NET Online Web Help
DrawObject Event


combit.ListLabel24 Namespace > ListLabel Class : 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
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.

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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also