Tritium UI
TritiumGanttView
Plan tasks on a Gantt chart with dependencies, calendars, resources, and a critical path.
Key features
- Show a task grid beside timeline bars, and bind your own objects with a mapping or use TritiumGanttTask.
- Zoom by day, week, or month, and shade non-working days from a project calendar.
- Link tasks finish-to-start, start-to-start, finish-to-finish, or start-to-finish, with lag, and draw or delete links on the chart.
- Drag to move a bar, resize a segment, and update progress, with multi-step undo and redo.
- Highlight the critical path, show baselines and milestones, and enforce dependency dates.
- Indent a hierarchy with ParentId, split a task, and apply schedule constraints such as start-no-earlier-than and must-start-on.
- Assign resources, show overload, level the schedule, and open a resource histogram.
- Host more than one project, choose task-grid columns, and put text on the bars.
- Edit a task in the properties dialog, export a PNG or a vector PDF, and print (Windows dialog, or open the PDF elsewhere).
Platforms
Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI). Print shows the Windows print dialog when a window is available; other platforms write a PDF and open it.
Main API
- ItemsSource . The tasks, or your objects when TaskMapping is set.
- Zoom . Day, week, or month time scale.
- ShowCriticalPath . Highlights tasks on the critical path.
- TaskChanged . Fires after a bar move, resize, or other task edit.
Basic example
Declare this namespace on the page.
xmlns:gantt="clr-namespace:Tritium.Maui.Gantt;assembly=Tritium.Maui.Gantt"
<gantt:TritiumGanttView ItemsSource="{Binding Tasks}"
Zoom="Week"
ShowCriticalPath="True"
AllowDrag="True"
AllowDependencyEdit="True" /> Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.