GanttConnectorBase.StrokeDashOffset Property
Gets or sets a Double that specifies the distance within the dash pattern where a dash begins. This is a dependency property.
Namespace: DevExpress.Xpf.Gantt
Assembly: DevExpress.Xpf.Gantt.v24.2.dll
NuGet Package: DevExpress.Wpf.Gantt
Declaration
Property Value
Type | Description |
---|---|
Double | A Double that represents the distance within the dash pattern where a dash begins. |
Remarks
The code sample below demonstrates how to change the Connector‘s stroke dash offset.
<dxgn:GanttControl ItemsSource="{Binding Tasks}">
<dxgn:GanttControl.View>
<dxgn:GanttView ...>
<dxgn:GanttView.ConnectorStyle>
<Style TargetType="dxgn:GanttConnector">
<Setter Property="StrokeDashArray" Value="4 3"/>
<Setter Property="StrokeDashOffset" Value="2"/>
</Style>
</dxgn:GanttView.ConnectorStyle>
</dxgn:GanttView>
</dxgn:GanttControl.View>
</dxgn:GanttControl>
See Also