Back to Devexpress

GanttView Class

windowsforms-devexpress-dot-xtrascheduler-813b212c.md

latest4.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public class GanttView :
    TimelineView
vb
Public Class GanttView
    Inherits TimelineView

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.

Watch Video

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.

Inheritance

Object UserInterfaceObject SchedulerViewBase TimelineView GanttView

See Also

GanttView Members

How to: Create a Gantt Chart Application

Timeline View

AppointmentDependency

Gantt View Specifics

DevExpress.XtraScheduler Namespace