All docs
V21.2
21.2
21.1
20.2
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.

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

Declaration

public DateTimeRange? PrintDateRange { get; set; }

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