Version

Showing the Project Summary Task

Topic Overview

Purpose

This topic explains how to display the project’s summary task using the xamGantt™ control.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic describes how the xamGantt control is bound to an arbitrary tasks collection via ListBackedProject.

In this topic

This topic contains the following sections:

Showing the Project Summary Task

Overview

By default, the project summary task is not displayed in the xamGantt control’s user interface. You can configure whether or not the project summary task is visible.

When the project summary task is visible, it appears in both the xamGantt control’s grid and chart sections.

Property settings

The following table maps the desired configuration to its corresponding property settings.

In order to: Use this property: And set it to:

Show the project summary task

True

Example

The example below demonstrates how to display the project summary task:

In XAML:

<ig:ListBackedProject x:Name="dataProvider"
                      TaskItemsSource="{Binding Tasks}">
    <!-- Add ProjectTask Property Mappings Here -->
    <!-- Specify Project Settings Here -->
    <ig:ListBackedProject.Settings>
        <ig:ProjectSettings IsRootTaskVisible="True" />
    </ig:ListBackedProject.Settings>
</ig:ListBackedProject>
<ig:XamGantt x:Name="gantt"
             Project="{Binding ElementName=dataProvider}"/>

Related Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic gives an overview of the xamGantt ProjectSettings class and its configurable aspects.