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

Occurs before an appointment is drawn, allowing the developer to create a custom appointment display.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnAppointment As dbiDayView.EventUserDrawnAppointmentHandler
C# 
public event dbiDayView.EventUserDrawnAppointmentHandler UserDrawnAppointment

Event Data

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

PropertyDescription
AllDay Determines if the appointment exists in the AllDay area.
Appointment the dbiAppointmentItem that is to be drawn
Graphics The Graphics object for the current appointment.
Index The index value for the appointment that will be drawn
PaintAppointment Determines if the appointment will be drawn with the default settings.
PaintText Determines if the text in the appointment will be drawn in the default manner.
Rect The rectangle indicating the size of the appointment for use with the Graphics property.
Selected Determines if the appointment is currently selected.

Requirements

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

See Also