Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttView.PrintHeadersOnFirstPageOnly Property

Gets or sets whether to print column headers on the first page only. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public bool PrintHeadersOnFirstPageOnly { get; set; }

#Property Value

Type Default Description
Boolean true

true, to print headers on the first page only; false, to print column headers on every page.

#Remarks

PrintHeadersOnFirstPageOnly = true:

PrintHeadersOnFirstPageOnly = false:

If the GanttView.PrintArea is set to TreeList, the GanttControl prints column headers on each page regardless of the PrintHeadersOnFirstPageOnly property value.

If the GanttView.PrintColumnHeaders is set to false, the GanttControl does not print column headers.

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

See Also