GanttTaskControl Class
A gantt task.
Namespace: DevExpress.Xpf.Gantt
Assembly: DevExpress.Xpf.Gantt.v24.2.dll
NuGet Package: DevExpress.Wpf.Gantt
Declaration
Remarks
Use the GanttTaskControl object to customize the appearance of gantt tasks.
Example
<dxgn:GanttControl ItemsSource="{Binding Tasks}">
...
<dxgn:GanttControl.View>
<dxgn:GanttView ...>
<dxgn:GanttView.TaskStyle>
<Style TargetType="dxgn:GanttTaskControl">
<Setter Property="Background" Value="YellowGreen"/>
</Style>
</dxgn:GanttView.TaskStyle>
</dxgn:GanttView>
</dxgn:GanttControl.View>
</dxgn:GanttControl>
The image below illustrates the result:
Inheritance
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
DevExpress.Xpf.Gantt.GanttItemControlBase
GanttTaskControlBase
GanttTaskControl
See Also