Skip to main content

GanttConnectorBase.StrokeThickness Property

Gets or sets the thickness of the Connector‘s line. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public double StrokeThickness { get; set; }

Property Value

Type Description
Double

The width of the connector’s line.

Remarks

The code sample below demonstrates how to change the Connector‘s thickness.

<dxgn:GanttControl ItemsSource="{Binding Tasks}"> 
    <dxgn:GanttControl.View> 
        <dxgn:GanttView ...> 
            <dxgn:GanttView.ConnectorStyle> 
                <Style TargetType="dxgn:GanttConnector"> 
                    <Setter Property="StrokeThickness" Value="2"/> 
                </Style> 
            </dxgn:GanttView.ConnectorStyle> 
        </dxgn:GanttView> 
    </dxgn:GanttControl.View> 
</dxgn:GanttControl> 
See Also