menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridPrintExtensions - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridPrintExtensions

    Defines extension methods to show the print dialog.

    Inheritance
    System.Object
    GridPrintExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public static class GridPrintExtensions

    Methods

    Print(GridControlBase)

    Declaration
    public static bool? Print(this GridControlBase grid)
    Parameters
    Type Name Description
    GridControlBase grid
    Returns
    Type
    System.Nullable<System.Boolean>

    Print(GridControlBase, Action<PrintDialog>)

    Declaration
    public static bool? Print(this GridControlBase grid, Action<PrintDialog> gridPrintAction)
    Parameters
    Type Name Description
    GridControlBase grid
    System.Action<System.Windows.Controls.PrintDialog> gridPrintAction
    Returns
    Type
    System.Nullable<System.Boolean>

    Print(GridDataControl)

    Declaration
    public static bool? Print(this GridDataControl grid)
    Parameters
    Type Name Description
    GridDataControl grid
    Returns
    Type
    System.Nullable<System.Boolean>

    Print(GridDataControl, Action<PrintDialog>)

    Declaration
    public static bool? Print(this GridDataControl grid, Action<PrintDialog> gridPrintAction)
    Parameters
    Type Name Description
    GridDataControl grid
    System.Action<System.Windows.Controls.PrintDialog> gridPrintAction
    Returns
    Type
    System.Nullable<System.Boolean>

    Print(GridTreeControl)

    Declaration
    public static bool? Print(this GridTreeControl grid)
    Parameters
    Type Name Description
    GridTreeControl grid
    Returns
    Type
    System.Nullable<System.Boolean>

    Print(GridTreeControl, Action<PrintDialog>)

    Declaration
    public static bool? Print(this GridTreeControl grid, Action<PrintDialog> gridPrintAction)
    Parameters
    Type Name Description
    GridTreeControl grid
    System.Action<System.Windows.Controls.PrintDialog> gridPrintAction
    Returns
    Type
    System.Nullable<System.Boolean>

    ShowPrintDialog(GridControlBase)

    Displays the print dialog for the given grid control.

    Declaration
    public static bool? ShowPrintDialog(this GridControlBase grid)
    Parameters
    Type Name Description
    GridControlBase grid

    The grid.

    Returns
    Type Description
    System.Nullable<System.Boolean>

    A Nullable(T) value of type Boolean that signifies how a window was closed by the user.

    ShowPrintDialog(GridControlBase, Action<GridPrintDialog>)

    Displays the print dialog for the given grid control.

    Declaration
    public static bool? ShowPrintDialog(this GridControlBase grid, Action<GridPrintDialog> gridPrintAction)
    Parameters
    Type Name Description
    GridControlBase grid

    The grid.

    System.Action<GridPrintDialog> gridPrintAction

    Creates a method that will open a GridPrintDialog.

    Returns
    Type Description
    System.Nullable<System.Boolean>

    A Nullable(T) value of type Boolean that signifies how a window was closed by the user.

    ShowPrintDialog(GridDataControl)

    Displays the print dialog for the given grid data control.

    Declaration
    public static bool? ShowPrintDialog(this GridDataControl grid)
    Parameters
    Type Name Description
    GridDataControl grid

    The grid data control.

    Returns
    Type Description
    System.Nullable<System.Boolean>

    A Nullable(T) value of type Boolean that signifies how a window was closed by the user.

    ShowPrintDialog(GridDataControl, Action<GridPrintDialog>)

    Displays the print dialog for the given grid data control.

    Declaration
    public static bool? ShowPrintDialog(this GridDataControl grid, Action<GridPrintDialog> gridPrintAction)
    Parameters
    Type Name Description
    GridDataControl grid

    The grid data control.

    System.Action<GridPrintDialog> gridPrintAction

    Creates a method that will open a GridPrintDialog.

    Returns
    Type Description
    System.Nullable<System.Boolean>

    A Nullable(T) value of type Boolean that signifies how a window was closed by the user.

    ShowPrintDialog(GridTreeControl)

    Displays the print dialog for the given grid tree control.

    Declaration
    public static bool? ShowPrintDialog(this GridTreeControl grid)
    Parameters
    Type Name Description
    GridTreeControl grid

    The tree grid.

    Returns
    Type Description
    System.Nullable<System.Boolean>

    A Nullable(T) value of type Boolean that signifies how a window was closed by the user.

    ShowPrintDialog(GridTreeControl, Action<GridPrintDialog>)

    Displays the print dialog for the given grid tree control.

    Declaration
    public static bool? ShowPrintDialog(this GridTreeControl grid, Action<GridPrintDialog> gridPrintAction)
    Parameters
    Type Name Description
    GridTreeControl grid

    The tree grid.

    System.Action<GridPrintDialog> gridPrintAction

    Creates a method that will open a GridPrintDialog.

    Returns
    Type Description
    System.Nullable<System.Boolean>

    A Nullable(T) value of type Boolean that signifies how a window was closed by the user.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved