Back to Devexpress

AppointmentViewInfo Class

windowsforms-devexpress-dot-xtrascheduler-dot-drawing-1e41c217.md

latest3.5 KB
Original Source

AppointmentViewInfo Class

Provides information on the visual representation of the appointment.

Namespace : DevExpress.XtraScheduler.Drawing

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public abstract class AppointmentViewInfo :
    ViewInfoItemContainer,
    IAppointmentViewInfo,
    IAppointmentView,
    IGanttAppointmentViewInfo,
    ISchedulerSupportContextItems
vb
Public MustInherit Class AppointmentViewInfo
    Inherits ViewInfoItemContainer
    Implements IAppointmentViewInfo,
               IAppointmentView,
               IGanttAppointmentViewInfo,
               ISchedulerSupportContextItems

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.

EventNotation
SchedulerControl.AppointmentViewInfoCustomizinge.ViewInfo
SchedulerControl.CustomDrawAppointment, SchedulerControl.CustomDrawAppointmentBackgroundCast explicitly e.ObjectInfo to the AppointmentViewInfo type
SchedulerControl.InplaceEditorShowinge.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

AppointmentViewInfo Members

DevExpress.XtraScheduler.Drawing Namespace