Skip to main content
A newer version of this page is available. .

AppointmentViewInfo Class

Provides information on the visual representation of the appointment.

Namespace: DevExpress.XtraScheduler.Drawing

Assembly: DevExpress.XtraScheduler.v18.1.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentViewInfo class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

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