AppointmentViewInfo Class
Provides information on the visual representation of the appointment.
Namespace: DevExpress.XtraScheduler.Drawing
Assembly: DevExpress.XtraScheduler.v24.2.dll
Declaration
public abstract class AppointmentViewInfo :
ViewInfoItemContainer,
IAppointmentViewInfo,
IAppointmentView,
IGanttAppointmentViewInfo,
ISchedulerSupportContextItems
Related API Members
The following members return AppointmentViewInfo objects:
Remarks
The AppointmentViewInfo object contains information used to render an appointment or appointment part, and provides properties that can be used to customize the appointment appearance. You can access the AppointmentViewInfo instance within the following event handlers.
Event | Notation |
---|---|
SchedulerControl.AppointmentViewInfoCustomizing | e.ViewInfo |
SchedulerControl.CustomDrawAppointment, SchedulerControl.CustomDrawAppointmentBackground | Cast explicitly e.ObjectInfo to the AppointmentViewInfo type |
SchedulerControl.InplaceEditorShowing | e.SchedulerInplaceEditorEventArgs.ViewInfo |
The AppointmentViewInfo is also obtained during hit testing using the SchedulerHitInfo.ViewInfo property when appointment’s visual objects are being clicked.
Use the AppointmentViewInfo object to get the required information when changing appointment appearance or redrawing the appointment manually.