GanttView Class
A view that shows tasks, the relationship among the tasks and task progress in relation to time.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
Declaration
Related API Members
The following members return GanttView objects:
Remarks
The XtraScheduler control has several types of views that provide different arrangements and formats for scheduling and viewing appointments. The GanttView class represents a Gantt View. This type of view displays appointments (known here as tasks) as horizontal bars along the timescales, and provides end-users with means to indicate task dependencies and task progress.
To specify the time scales simultaneously displayed within the Gantt View, use the GanttView.Scales property.
Lines with arrows which indicate task relationships are AppointmentDependency objects contained within the AppointmentDependencyStorage.
Task progress is specified via the Appointment.PercentComplete property. Use the GanttViewAppointmentDisplayOptions.PercentCompleteDisplayType property to set different modes to show task progress in the view. For a particular appointment, you can specify how the percentage of completion is displayed by handling the SchedulerControl.AppointmentViewInfoCustomizing event and using the AppointmentViewInfoOptions.PercentCompleteDisplayType property.
All views are stored in the scheduler’s view repository, which can be accessed via the SchedulerControl.Views property. To access the settings of the Gantt View, use the SchedulerViewRepository.GanttView property.