Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / Print Method / Print() Method


In This Topic
    Print() Method
    In This Topic
    Displays a Print dialog that allows the grid to be printed.
    Syntax
    'Declaration
     
    Public Overloads Function Print() As Boolean
    'Usage
     
    Dim instance As DataGridControl
    Dim value As Boolean
     
    value = instance.Print()
    public bool Print()
    Remarks

    When using this overload of the Print method, the print-job's name will be "document" and all pages will be printed.

    The appearance of a grid when it is printed or exported is determined by the PrintView property.

    If running under XBAP with FullTrust permissions, the printing process will be asynchronous. If FullTrust permission are not used, the process will be synchronous and will cause the application to freeze until the process has completed.

    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