# Collection Editors

## Content

C1GanttView provides the following collection editors that allow you to apply properties to the GanttView elements at design time:

* C1GanttView.BarStyles Collection Editor
* C1GanttView.Columns Collection Editor
* C1GanttView.CustomCalendars Collection Editor
* CustomCalendar.CalendarExceptions Collection Editor
* CustomCalendar.Workweeks Collection Editor
* C1GanttView.Resources Collection Editor
* C1GanttView.Tasks Collection Editor

### BarStyles Collection Editor

The **C1GanttView.BarStyles Collection** **Editor** is used for adding different types of bars such as **AutoTask**, **ManualTask**, **Progress**, **Milestone**, **Deadline**, **DurationOnly**, **StartOnly**, and **FinishOnly**. Once the bar type is specified, you can then modify its shape, pattern, color, and text.
To access the BarStyles Collection Editor, right-click on the C1GanttView control and select Edit Bar Styles from its context menu.
The **C1GanttView.BarStyles Collection Editor** appears like the following:
![](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/bar-style-collection-editor.png)

### Columns Collection Editor

The **C1GanttView.Columns Collection Editor** enables you to add and modify **TaskPropertyColumns** and **CustomFieldColumns** properties at the design time.
To access the Columns Collection Editor, right-click on the C1GanttView control and select **Edit Columns** from its context menu.
The following image displays the **Columns Collection Editor**:
![](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/columns-collection-editor.png)

### CustomCalendars Collection Editor

The **C1GanttView.CustomCalendars Collection Editor** provides you with easy access for adding, removing, or modifying custom calendars at the design time.
To access the CustomCalendars Collection Editor, right-click on the C1GanttView control and select **Edit Calendars** from its context menu.
The **C1GanttView.CustomCalendars Collection Editor** appears like the following when a member is added to the collection:
![](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/customcalendars-collection-editor.png)

### CustomCalendar CalendarException Collection Editor

The **CustomCalendar.CalendarExceptions Collection Editor** allows you to add, remove, or modify exceptions for the custom calendars at the design time.
To access the CustomCalendar CalendarException Collection Editor, follow the steps below:

1. Right-click on the C1GanttView control and select **Edit Calendars** from its context menu. The **C1GanttView.CustomCalendars Collection Editor** appears.
2. Click **Add** to add a new member to the collection.
3. In the properties pane, click on the ellipsis button next to CalendarExceptions. This opens the **CustomCalendar.CalendarExceptions Collection Editor**.

The following image displays the CustomCalendar.CalendarExceptions Collection Editor when a member is added to the collection:
![Displays the CustomCalendar CalendarException Editor in GanttView control.](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/calendarexceptioneditor_ganttview.png)

### CustomCalendar WorkWeeks Collection Editor

The **CustomCalendar.WorkWeeks Collection Editor** allows you to add, remove, or modify work weeks for the custom calendars at the design time.
To access the CustomCalendar CalendarException Collection Editor, follow the steps below:

1. Right-click on the C1GanttView control and select **Edit Calendars** from its context menu. The **C1GanttView.CustomCalendars Collection Editor** appears.
2. Click **Add** to add a new member to the collection.
3. In the properties pane, click on the ellipsis button next to WorkWeeks. This opens the **CustomCalendar.Calendar.WorkWeeks Collection Editor**.

The following image displays the CustomCalendar.WorkWeeks Collection Editor when a member is added to the collection:
![Displays the CustomCalendar WorkWeeks Editor in GanttView control.](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/workweekcollection_ganttview.png)

### Resources Collection Editor

The **C1GanttView.Resources Collection Editor** enables you to manage the resources. It provides various options such as adding, removing and modifying resources at the design time.
To Access the **C1GanttView.Resources Collection Editor**, right-click on the C1GanttView control and select **Edit Resources** from its context menu.
The C1GanttView.Resources Collection Editor appears as follows when a Resource is added to the collection:
![](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/resources-collection-editor.png)

### Tasks Collection Editor

The GanttView control provides you with a Tasks Collection Editor using which you can easily add, remove, and modify tasks at the design time.
To Access the **C1GanttView.Tasks Collection Editor**, right-click on the C1GanttView control and select **Edit Tasks** from its context menu.
The following image displays the **C1GanttView.Tasks Collection Editor**:
![](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/tasks-collection-editor.png)