DlhSoft Gantt Chart Library
for Windows® Presentation Foundation (WPF) and .NET 3.5 SP1+
|
GanttChartView Control
GanttChartView control is used to display and update a list of task items using a Gantt Chart, and it is part of Gantt Chart Library for WPF 3.5, Gantt Chart Library for WPF 4, Project Management Library for WPF 3.5, and Project Management Library for WPF 4.
Screenshots and Intro Source Code
-
Basic usage:
<pdgcc:GanttChartView>
<pd:TaskItem Content="Task 1" IndexString="1"/>
[...]
<pd:TaskItem Content="Task 2" IsExpanded="True" IndexString="6"/>
<pd:TaskItem Content="Task 2.1" Indentation="1" Start="{x:Static sys:DateTime.Today}" Effort="16:00:00"
IsCompleted="True" IndexString="7"/>
<pd:TaskItem Content="Task 2.2" Indentation="1" Start="{x:Static sys:DateTime.Today}" Effort="08:00:00"
CompletedEffort="06:00:00" IndexString="8"/>
<pd:TaskItem Content="Task 2.3" Indentation="1" IsExpanded="True" IndexString="9" PredecessorsString="8"/>
<pd:TaskItem Content="Task 2.3.1" Indentation="2" Start="{x:Static sys:DateTime.Today}" Effort="1.16:00:00"
IndexString="10" Cost="2000"/>
<pd:TaskItem Content="Task 2.3.2" Indentation="2" Start="{x:Static sys:DateTime.Today}" Effort="08:00:00"
IndexString="11" PredecessorsString="10"/>
<pd:TaskItem Content="Task 3" Start="{x:Static sys:DateTime.Today}" Effort="12:30:00"
CompletedEffort="02:30:00" IndexString="12" PredecessorsString="9, 11SS+12"/>
<pd:TaskItem Content="Task 4" Start="{x:Static sys:DateTime.Today}" Effort="16:00:00"
AssignmentsString="Resource 1" IndexString="13"/>
<pd:TaskItem Content="Task 5" Start="{x:Static sys:DateTime.Today}" Effort="20:00:00"
AssignmentsString="Resource 1, Resource 2 [50%]" IndexString="14"/>
<pd:TaskItem Content="Task 6" Start="{x:Static sys:DateTime.Today}" IsMilestone="True" IndexString="15"
PredecessorsString="14+2"/>
<pdgcc:GanttChartView.AssignableResourceItems>
<pd:ResourceItem Content="Resource 1" CostPerUsage="100" CostPerHour="10"/>
<pd:ResourceItem Content="Resource 2" CostPerHour="20"/>
</pdgcc:GanttChartView.AssignableResourceItems>
</pdgcc:GanttChartView>
-
Custom data binding:
-
Custom appearance:
-
Month scale:
-
Custom scale:
-
Continuous schedule:
-
Custom schedule:
-
Numeric days:
-
Statistics:
-
Bar templating:
-
Critical path:
-
Grid lines:
-
Control templating (based on Generic and/or other themes from default Gantt Chart controls styles and templates archive):
Related Components
|