Xceed DataGrid for WPF v7.2 Documentation
PagePrintOrder Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > PrintViewBase Class : PagePrintOrder Property
Gets or sets a value representing the order in which the pages are printed (see Remarks).
Syntax
'Declaration
 
Public Property PagePrintOrder As PagePrintOrder
'Usage
 
Dim instance As PrintViewBase

Dim value As PagePrintOrder

 

instance.PagePrintOrder = value

 

value = instance.PagePrintOrder
public PagePrintOrder PagePrintOrder {get; set;}

Property Value

A PagePrintOrder value representing the order in which the pages are printed (see Remarks). By default, PagePrintOrder.Horizontal.
Remarks
When PagePrintOrder is set to Horizontal, the columns of the rows fitting on a given page will be printed on subsequent pages until all columns of those rows have been completely printed. When PagePrintOrder is set to Vertical, the same columns will be printed on subsequent pages to the end of the columns being printed. So for example, given a grid with 10 columns, where only five columns can fit on a printed page, when PagePrintOrder is set to Horizontal, the first page will contain the first five columns, whereas the second page will contain the remaining five columns of those rows. In other words, all of the columns of the first group of rows being printed will be completed before moving on to the next group of rows. On the other hand, when PagePrintOrder is set to Vertical, the first page will contain the first five columns of the first group of rows, the second page will contain the first five columns of the second group of rows, and so on until the first five columns of a grid are printed in their entirety.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrintViewBase Class
PrintViewBase Members