Skip to main content

GanttConnector.CornerRadius Property

Gets or sets the connector‘s corner radius.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public int CornerRadius { get; set; }

Property Value

Type Description
Int32

A connector’s corner radius.

Remarks

The code sample below demonstrates how to change the connector‘s corner radius.

<dxgn:GanttControl ItemsSource="{Binding Tasks}">
    <dxgn:GanttControl.View>
        <dxgn:GanttView ...>
            <dxgn:GanttView.ConnectorStyle>
                <Style TargetType="dxgn:GanttConnector">
                    <Setter Property="CornerRadius" Value="4"/>
                </Style>
            </dxgn:GanttView.ConnectorStyle>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>

The image below illustrates the result.

Gantt Connector Corner Radius

See Also