Skip to main content

GanttViewAppointmentDisplayOptions.PercentCompleteDisplayType Property

Gets or sets how the task progress is displayed in the Gantt view.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

Declaration

[DefaultValue(PercentCompleteDisplayType.Both)]
public PercentCompleteDisplayType PercentCompleteDisplayType { get; set; }

Property Value

Type Default Description
PercentCompleteDisplayType Both

A PercentCompleteDisplayType enumeration value that lists possible variants of the task progress display.

Available values:

Name Description
BarProgress

Displays bar shading.

PercentCompleteDisplayType.BarProgress

Number

Displays bar shading and a percent number.

PercentCompleteDisplayType.Number

Both

Displays percentage of completion as bar shading and a percent number.

PercentCompleteDisplayType.Both

None

Does not display percentage of completion.

PercentCompleteDisplayType.None

Remarks

The PercentCompleteDisplayType property specifies how a percentage of completion (the Appointment.PercentComplete property value) is displayed for all appointments shown in the Gantt View. To hide the task progress or change its look for individual appointments, handle the SchedulerControl.AppointmentViewInfoCustomizing event and specify the AppointmentViewInfoOptions.PercentCompleteDisplayType for each appointment as required.

See Also