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 an instance of the class.

public PrintPreviewWindow()

Properties

Document

The IDocumentPaginatorSource to display in the dialog.

public IDocumentPaginatorSource Document { get; set; }

Property Value

IDocumentPaginatorSource

SyntaxEditor

The SyntaxEditor that owns the document.

public SyntaxEditor? SyntaxEditor { get; set; }

Property Value

SyntaxEditor

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Extension Methods