Skip to main content

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

TreeListView.PrintAutoWidth Property

Gets or sets whether to change column width in the printed document to fit the page.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool PrintAutoWidth { get; set; }

#Property Value

Type Description
Boolean

true to change column width in the printed document to fit the page; otherwise, false.

#Remarks

#TreeListView

Default value: true

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

#GanttView

If the GanttView.PrintAutoWidth property is set to false, the GanttControl uses the GanttColumn.Width property value to print the TreeList area.

If the GanttView.PrintAutoWidth property is set to true, the GanttControl changes the width of the printed TreeList area to fit the first page.

Default value: false

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

See Also