Occurs before an appointment is drawn, allowing the developer to create a custom appointment display.
Syntax
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.
| Property | Description |
|---|
| 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