Class PrintPreview
Represents a control that print previewing the page control.
Inheritance
System.Object
PrintPreview
Implements
System.IDisposable
Namespace: Syncfusion.Windows.Controls.Printing
Assembly: Syncfusion.SfShared.Wpf.dll
Syntax
public class PrintPreview : Control, IDisposable
Constructors
PrintPreview(PrintManager)
Initializes a new instance of
Declaration
public PrintPreview(PrintManager printManager)
Parameters
Type | Name | Description |
---|---|---|
PrintManager | printManager | The corresponding |
Methods
Dispose()
Releases all the resources used by the
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
OnApplyTemplate()
Builds the visual tree for the print preview control when a new template is applied.
Declaration
public override void OnApplyTemplate()
Implements
System.IDisposable