Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, 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