WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PrintPreviewControl

    Show / Hide Table of Contents

    Class PrintPreviewControl

    Interaction logic for PrintNavigationControl.xaml

    Inheritance
    System.Object
    PrintPreviewControl
    Implements
    System.Windows.Markup.IComponentConnector
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class PrintPreviewControl : UserControl, IComponentConnector

    Constructors

    PrintPreviewControl()

    Initializes a new instance of the PrintPreviewControl class.

    Declaration
    public PrintPreviewControl()

    PrintPreviewControl(IPrintDocument)

    Initializes a new instance of the PrintPreviewControl class.

    Declaration
    public PrintPreviewControl(IPrintDocument printDocument)
    Parameters
    Type Name Description
    IPrintDocument printDocument

    Fields

    FooterTemplateProperty

    Declaration
    public static readonly DependencyProperty FooterTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HeaderTemplateProperty

    Declaration
    public static readonly DependencyProperty HeaderTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ZoomFactorProperty

    Declaration
    public static readonly DependencyProperty ZoomFactorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    CanMoveFirst

    Specifies whether it is possible to navigate to the first page.

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

    CanMoveLast

    Specifies whether it is possible to navigate to the first page.

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

    CanMoveNext

    Specifies whether it is possible to navigate to the next page.

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

    CanMovePrevious

    Specifies whether it is possible to navigate to the previous page.

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

    CurrentPage

    Declaration
    public int CurrentPage { get; set; }
    Property Value
    Type Description
    System.Int32

    FooterTemplate

    Declaration
    public DataTemplate FooterTemplate { set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    HeaderTemplate

    Declaration
    public DataTemplate HeaderTemplate { set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    PrintDocument

    Declaration
    public IPrintDocument PrintDocument { get; set; }
    Property Value
    Type Description
    IPrintDocument

    TotalPage

    Declaration
    public int TotalPage { get; }
    Property Value
    Type Description
    System.Int32

    ZoomFactor

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

    Methods

    InitializeComponent()

    InitializeComponent

    Declaration
    public void InitializeComponent()

    OnFooterTemplatePropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Declaration
    public static void OnFooterTemplatePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyObject dependencyObject
    System.Windows.DependencyPropertyChangedEventArgs e

    OnHeaderTemplatePropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Declaration
    public static void OnHeaderTemplatePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyObject dependencyObject
    System.Windows.DependencyPropertyChangedEventArgs e

    OnZoomFactorPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Declaration
    public static void OnZoomFactorPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyObject dependencyObject
    System.Windows.DependencyPropertyChangedEventArgs e

    Print()

    Declaration
    public void Print()

    UpdatePrintDialog()

    Declaration
    public void UpdatePrintDialog()

    UpdateToolbarCulture()

    Declaration
    public void UpdateToolbarCulture()

    Implements

    System.Windows.Markup.IComponentConnector
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved