# Task Percent Complete

## Content



Task Percent Complete shows the completion status of the task. To specify the completion status of a task in the GanttView, you can use the **PercentComplete** property of the **Task** class.

A 100 percent complete task is represented differently in the GanttView control. The following image shows the task indicator which appears next to the tasks which are 100% complete:

![Displays task indicator which appears next to the tasks which are 100% complete](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/percentcompleteganttview.png)

In code, the value of **PercentComplete** property should be between 0 and 1. For example, if you want to set **PercentComplete** property for a task to 30% then, write the following code:

```csharp
//Set task percent complete in GanttView control
Task1.PercentComplete = 0.30;
```