Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppointmentViewInfo Class

Provides information on the visual representation of the appointment.

Namespace: DevExpress.XtraScheduler.Drawing

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public abstract class AppointmentViewInfo :
    ViewInfoItemContainer,
    IAppointmentViewInfo,
    IAppointmentView,
    IGanttAppointmentViewInfo,
    ISchedulerSupportContextItems

#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.

#Inheritance

Object
DevExpress.Utils.Drawing.GraphicsInfoArgs
DevExpress.Utils.Drawing.ObjectInfoArgs
DevExpress.XtraScheduler.Drawing.SelectableIntervalViewInfo
DevExpress.XtraScheduler.Drawing.BorderObjectViewInfo
DevExpress.XtraScheduler.Drawing.ViewInfoItemContainer
AppointmentViewInfo
See Also