All docs
V20.2
20.2 (EAP/Beta)
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
You are viewing help content for pre-release software. This document and the features it describes are subject to change.

GanttView.PrintDateRange Property

Gets or sets a date range for which to print the tasks. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

Declaration

public DateTimeRange? PrintDateRange { get; set; }
Public Property PrintDateRange As DateTimeRange?

Property Value

Type Default Description
Nullable<DateTimeRange>

null

A date range for which to print the tasks.

Remarks

The GanttControl does not print connectors for tasks outside of the specified range.

Example

<dxgn:GanttControl ItemsSource="{Binding Tasks}">
    <dxgn:GanttControl.View>
        <dxgn:GanttView PrintDateRange="(8/22/2020)-(9/22/2020)" .../>
    </dxgn:GanttControl.View>
...
</dxgn:GanttControl>

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

See Also