Back to Devexpress

GanttView.PrintConnectorStyle Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-dcfb9623.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public Style PrintConnectorStyle { get; set; }
vb
Public Property PrintConnectorStyle As Style

Property Value

TypeDescription
Style

The style applied to task connectors in the printed GanttControl.

|

Remarks

Target Type: GanttConnector

Example

xaml
<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

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace