Back to Devexpress

TreeListView.PrintAutoWidth Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-38e34283.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool PrintAutoWidth { get; set; }
vb
Public Property PrintAutoWidth As Boolean

Property Value

TypeDescription
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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace