dbicList Send comments on this topic.
UserDrawnTitle Event
See Also 
dbicBase Assembly > Dbi.WinControl Namespace > DbiListControl Class : UserDrawnTitle Event

Event fired before the title area is drawn, allowing the developer to customize the display.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnTitle As DbiListControl.EventUserDrawnTitleHandler
C# 
public event DbiListControl.EventUserDrawnTitleHandler UserDrawnTitle

Event Data

The event handler receives an argument of type UserDrawnTitleEventArgs containing data related to this event. The following UserDrawnTitleEventArgs properties provide information specific to this event.

PropertyDescription
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.
PaintTitle 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.
Rect A rectangle representing the area being painted in the control.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also