Skip to main content

GanttTaskControlBase.CornerRadius Property

Gets or sets the gantt task items’ corner radius. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public CornerRadius CornerRadius { get; set; }

Property Value

Type Description
CornerRadius

A task item’s corner radius

Remarks

Use the CornerRadius property to specify the gantt tasks’ corner radius.

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