Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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