dbicDayView Send comments on this topic.
UserDrawnHeader Event
See Also 
dbicDayView Assembly > Dbi.WinControl.DayView Namespace > dbiDayView Class : UserDrawnHeader Event

Occurs before a column header is drawn allowing the developer to create a custom header.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnHeader As dbiDayView.EventUserDrawnHeaderHandler
C# 
public event dbiDayView.EventUserDrawnHeaderHandler UserDrawnHeader

Event Data

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

PropertyDescription
ContactID The ContactID of the current header.
Date The date of the current header.
Graphics The Graphics class for the current header.
LocationID The LocationID of the current header.
MouseOver Indicates if the mouse is over the current header if you wish to customize the hottrack or fonts.
PaintBackground Determines if the header background is to be drawn automatically or by the user.
PaintText Determines if the header text is to be drawn automatically or by the user.
Rect The rectangle indicating the size of the header for use with the Graphics property.
TaskID The TaskID of the current header.

Requirements

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

See Also