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

In This Topic
    DrawObject Event
    In This Topic

    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.

    Public Event DrawObject As DrawObjectHandler
    public event DrawObjectHandler DrawObject
    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.


    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.


    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also