In This Article

PrintPreviewWindow Class

Represents a default dialog for displaying a print preview.

public class PrintPreviewWindow : Window
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl Window object

Constructors

PrintPreviewWindow()

Initializes a new instance of the PrintPreviewWindow class.

public PrintPreviewWindow()

Properties

Document

Gets or sets the IDocumentPaginatorSource to display in the dialog.

public IDocumentPaginatorSource Document { get; set; }

Property Value

IDocumentPaginatorSource:

The IDocumentPaginatorSource to display in the dialog.

SyntaxEditor

Gets or sets the SyntaxEditor that owns the document.

public SyntaxEditor SyntaxEditor { get; set; }

Property Value

SyntaxEditor:

The SyntaxEditor that owns the document.

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()