Class PrintPreviewControl
Interaction logic for PrintNavigationControl.xaml
Inheritance
System.Object
PrintPreviewControl
Implements
System.Windows.Markup.IComponentConnector
Assembly: Syncfusion.Shared.Wpf.dll
public class PrintPreviewControl : UserControl, IComponentConnector
Constructors
Declaration
public PrintPreviewControl()
Declaration
public PrintPreviewControl(IPrintDocument printDocument)
Parameters
Fields
Declaration
public static readonly DependencyProperty FooterTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ZoomFactorProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Specifies whether it is possible to navigate to the first page.
Declaration
public bool CanMoveFirst { get; }
Property Value
Specifies whether it is possible to navigate to the first page.
Declaration
public bool CanMoveLast { get; }
Property Value
Specifies whether it is possible to navigate to the next page.
Declaration
public bool CanMoveNext { get; }
Property Value
Specifies whether it is possible to navigate to the previous page.
Declaration
public bool CanMovePrevious { get; }
Property Value
CurrentPage
Declaration
public int CurrentPage { get; set; }
Property Value
Declaration
public DataTemplate FooterTemplate { set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public DataTemplate HeaderTemplate { set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public IPrintDocument PrintDocument { get; set; }
Property Value
TotalPage
Declaration
public int TotalPage { get; }
Property Value
Declaration
public double ZoomFactor { get; set; }
Property Value
Methods
Declaration
public void InitializeComponent()
Declaration
public static void OnFooterTemplatePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
dependencyObject |
|
System.Windows.DependencyPropertyChangedEventArgs |
e |
|
Declaration
public static void OnHeaderTemplatePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
dependencyObject |
|
System.Windows.DependencyPropertyChangedEventArgs |
e |
|
Declaration
public static void OnZoomFactorPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
dependencyObject |
|
System.Windows.DependencyPropertyChangedEventArgs |
e |
|
Declaration
Declaration
public void UpdatePrintDialog()
Declaration
public void UpdateToolbarCulture()
Implements
System.Windows.Markup.IComponentConnector