Xceed DataGrid for WPF v7.2 Documentation
ShowPrintPreviewWindow(String,PrintTicket) Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class > ShowPrintPreviewWindow Method : ShowPrintPreviewWindow(String,PrintTicket) Method
A string representing the title that will be used as the print-job name.
A PrintTicket to indicate a set of print options to use.
Displays a print preview in a window using the provided document title, and specifying a set of print options.
Syntax
'Declaration
 
Public Overloads Function ShowPrintPreviewWindow( _
   ByVal documentTitle As String, _
   ByVal ticket As PrintTicket _
) As Boolean
'Usage
 
Dim instance As DataGridControl
Dim documentTitle As String
Dim ticket As PrintTicket
Dim value As Boolean
 
value = instance.ShowPrintPreviewWindow(documentTitle, ticket)
public bool ShowPrintPreviewWindow( 
   string documentTitle,
   PrintTicket ticket
)

Parameters

documentTitle
A string representing the title that will be used as the print-job name.
ticket
A PrintTicket to indicate a set of print options to use.
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

DataGridControl Class
DataGridControl Members
Overload List