Back to Devexpress

GanttViewAppointmentDisplayOptions.PercentCompleteDisplayType Property

corelibraries-devexpress-dot-xtrascheduler-dot-ganttviewappointmentdisplayoptions.md

latest3.1 KB
Original Source

GanttViewAppointmentDisplayOptions.PercentCompleteDisplayType Property

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

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[DefaultValue(PercentCompleteDisplayType.Both)]
public PercentCompleteDisplayType PercentCompleteDisplayType { get; set; }
vb
<DefaultValue(PercentCompleteDisplayType.Both)>
Public Property PercentCompleteDisplayType As PercentCompleteDisplayType

Property Value

TypeDefaultDescription
PercentCompleteDisplayTypeBoth

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

|

Available values:

NameDescription
BarProgress

Displays bar shading.

| | Number |

Displays bar shading and a percent number.

| | Both |

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

| | None |

Does not display percentage of completion.

|

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

GanttViewAppointmentDisplayOptions Class

GanttViewAppointmentDisplayOptions Members

DevExpress.XtraScheduler Namespace