GanttControl.View Property
Gets or sets the GanttControl‘s view. This is a dependency property.
Namespace: DevExpress.Xpf.Gantt
Assembly: DevExpress.Xpf.Gantt.v24.2.dll
NuGet Package: DevExpress.Wpf.Gantt
#Declaration
#Property Value
Type | Description |
---|---|
Gantt |
A Gantt |
#Remarks
As a TreeListControl descendant, the GanttControl does not display data itself. It uses a View to display data from the bound data source. A View specifies how gantt chart items are displayed.
The GanttControl initializes the View property with a GanttView object when created.
The code sample below demonstrates how to set the View property.
<dxgn:GanttControl ItemsSource="{Binding Tasks}">
...
<dxgn:GanttControl.View>
<dxgn:GanttView ... />
</dxgn:GanttControl.View>
</dxgn:GanttControl>
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the View property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.