Skip to main content

GanttTaskControlBase.ProgressBackground Property

Gets or sets a brush used to paint the task’s progress. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.dll

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public Brush ProgressBackground { get; set; }

Property Value

Type Description
Brush

A Brush object.

Remarks

Use the ProgressBackground property to define a brush used to paint the task’s progress.

Example

<dxgn:GanttControl ItemsSource="{Binding Tasks}">
    <dxgn:GanttControl.View>
        <dxgn:GanttView ...>
            <dxgn:GanttView.TaskStyle>
                <Style TargetType="dxgn:GanttTaskControl">
                    <Setter Property="CornerRadius" Value="4"/>
                    <Setter Property="ProgressBackground" Value="Gray" />
                </Style>
            </dxgn:GanttView.TaskStyle>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl> 
See Also