dbicList Send comments on this topic.
Developing with dbicList - User Drawn Title.

Glossary Item Box

User Drawn Title

A User Drawn Title allows the developer to customize the default presentation of the Title in the List. 

The UserDrawnTitle event is fired before the Title in the List is painted. The event passes an e argument with the following custom properties …

·        e.Graphics(of type System.Drawing.Graphics):    A handle to the graphics object responsible for drawing the title. Through the e.Graphics object the developer has access to the GDI+ methods for drawing objects to a display device.

·        e.PaintTitle(of type Boolean):   Determines if the internal routines of the control should draw the title. When the PaintTitle property is set to False the control does not execute its internal paint routine and the developer has control over the painting of the title.

·        e.Rect(of type System.Drawing.Rectangle):   A rectangle representing the area being painted in the control.