Skip to main content
All docs
V23.2

GanttView.PrintConnectorStyle Property

Gets or sets the style applied to task connectors in the printed GanttControl. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v23.2.dll

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public Style PrintConnectorStyle { get; set; }

Property Value

Type Description
Style

The style applied to task connectors in the printed GanttControl.

Remarks

Target Type: GanttConnector

Example

<dxgn:GanttControl ItemsSource="{Binding Tasks}">
...
    <dxgn:GanttControl.View>
        <dxgn:GanttView ...>
            <dxgn:GanttView.PrintConnectorStyle>
                <Style TargetType="{x:Type dxgn:GanttConnector}">
                    <Setter Property="ArrowSize" Value="8,5"/>
                    <Setter Property="LineMargin" Value="4"/>
                    <Setter Property="Stroke" Value="#E63D6D"/>
                    <Setter Property="StrokeDashArray" Value="4 4"/>
                    <Setter Property="StrokeThickness" Value="1"/>
                    <Setter Property="CornerRadius" Value="2"/>
                </Style>
            </dxgn:GanttView.PrintConnectorStyle>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>

Refer to the Print and Export topic for more information on how to customize the printed document.

See Also