Class PrintPreview
Represents a control that print previewing the page control.
Inheritance
System.Object
PrintPreview
Implements
System.IDisposable
Namespace: Syncfusion.Windows.Shared.Printing
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class PrintPreview : Control, IDisposable
Constructors
PrintPreview(PrintManager)
Initializes a new instance of PrintPreview class.
Declaration
public PrintPreview(PrintManager printManager)
Parameters
Type | Name | Description |
---|---|---|
PrintManager | printManager | The corresponding PrintManager for the overriden controls. |
Methods
Dispose()
Releases all the resources used by the PrintPreview class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the PrintPreview class.
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