windowsforms-devexpress-dot-xtrascheduler-dot-drawing-1e41c217.md
Provides information on the visual representation of the appointment.
Namespace : DevExpress.XtraScheduler.Drawing
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public abstract class AppointmentViewInfo :
ViewInfoItemContainer,
IAppointmentViewInfo,
IAppointmentView,
IGanttAppointmentViewInfo,
ISchedulerSupportContextItems
Public MustInherit Class AppointmentViewInfo
Inherits ViewInfoItemContainer
Implements IAppointmentViewInfo,
IAppointmentView,
IGanttAppointmentViewInfo,
ISchedulerSupportContextItems
The following members return AppointmentViewInfo objects:
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.
Object DevExpress.Utils.Drawing.GraphicsInfoArgs DevExpress.Utils.Drawing.ObjectInfoArgs DevExpress.XtraScheduler.Drawing.SelectableIntervalViewInfo DevExpress.XtraScheduler.Drawing.BorderObjectViewInfo DevExpress.XtraScheduler.Drawing.ViewInfoItemContainer AppointmentViewInfo
See Also