menu

UWP

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

    Show / Hide Table of Contents

    Class PrintSettings

    Inheritance
    System.Object
    PrintSettings
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class PrintSettings : Object, INotifyPropertyChanged

    Constructors

    PrintSettings()

    Initializes a new instance of PrintSettings class.

    Declaration
    public PrintSettings()

    Properties

    AllowColumnWidthFitToPrintPage

    Gets or sets a value that indicates whether the all the column width fit with in single page .

    Declaration
    public bool AllowColumnWidthFitToPrintPage { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if all the column width fit with in single page; otherwise, false.

    AllowPrintStyles

    Get or sets a value that indicates whether the style is allowed for printing.

    Declaration
    public bool AllowPrintStyles { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the style is allowed for printing; otherwise, false.

    AllowRepeatHeaders

    Gets or sets a value that indicates whether the column headers repeated for all pages for printing.

    Declaration
    public bool AllowRepeatHeaders { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the column headers repeated for all pages; otherwise, false.

    CanPrintStackedHeaders

    Gets or sets a value that indicates whether the stacked header included for printing.

    Declaration
    public bool CanPrintStackedHeaders { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the SfDataGrid is printed with stacked header; otherwise, false.

    PrintFlowDirection

    Gets or sets the direction of text displayed in page for printing.

    Declaration
    public FlowDirection PrintFlowDirection { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.FlowDirection

    One of the that specifies the direction of text in page. The default is

    PrintHeaderRowHeight

    Gets or sets the height of header row in SfDataGrid for printing.

    Declaration
    public double PrintHeaderRowHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the header row in SfDataGrid.

    PrintManagerBase

    Gets or sets an instance of the PrintManagerBase which manages the printing operation in SfDataGrid.

    Declaration
    public PrintManagerBase PrintManagerBase { get; set; }
    Property Value
    Type Description
    PrintManagerBase

    An instance of the PrintManagerBase class.

    Remarks

    PrintManagerBase class provides various properties and virtual methods to customize its operations.

    PrintPageFooterHeight

    Gets or sets the height of the page footer for printing.

    Declaration
    public double PrintPageFooterHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the page footer.

    PrintPageFooterTemplate

    Gets or sets that defines the visual representation of the page footer for printing.

    Declaration
    public DataTemplate PrintPageFooterTemplate { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.DataTemplate

    The object that defines the visual representation of the page footer. The default is null.

    PrintPageHeaderHeight

    Gets or sets the height of the page header for printing.

    Declaration
    public double PrintPageHeaderHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the page header.

    PrintPageHeaderTemplate

    Gets or sets that defines the visual representation of the page header for printing.

    Declaration
    public DataTemplate PrintPageHeaderTemplate { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.DataTemplate

    The object that defines the visual representation of the page header. The default is null.

    PrintPageHeight

    Gets or sets the height of a page for printing.

    Declaration
    public double PrintPageHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of a page for printing.

    PrintPageMargin

    Gets or sets the margin of page for printing.

    Declaration
    public Thickness PrintPageMargin { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Thickness

    The Thickness of page for printing.

    PrintPageOrientation

    Gets or sets the that indicates whether the pages are printed in portrait or landscape mode.

    Declaration
    public PrintOrientation PrintPageOrientation { get; set; }
    Property Value
    Type Description
    Windows.Graphics.Printing.PrintOrientation

    One of the enumeration that specifies the orientation for page. The default value is .

    PrintPageWidth

    Gets or sets the width of a page for printing.

    Declaration
    public double PrintPageWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The width of a page for printing.

    PrintRowHeight

    Gets or sets the height of DataRow in SfDataGrid for printing.

    Declaration
    public double PrintRowHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the DataRow in SfDataGrid.

    PrintScaleOption

    Gets or sets the PrintScaleOptions that indicates the number of rows or columns are scaled to fit the page when it is printed.

    Declaration
    public PrintScaleOptions PrintScaleOption { get; set; }
    Property Value
    Type Description
    PrintScaleOptions

    One of the PrintScaleOptions enumeration that specifies how the rows or columns are scaled to fit the page. The default value is NoScaling.

    Events

    PropertyChanged

    Occurs when a property value changes in PrintSettings class.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved