In This Article

EditorDocumentViewer Class

Represents a DocumentViewer that has some modifications for viewing an IEditorDocument.

public class EditorDocumentViewer : DocumentViewer, IServiceProvider
Inheritance:
object Visual UIElement FrameworkElement Control DocumentViewerBase DocumentViewer object
Implements:
IServiceProvider

Constructors

EditorDocumentViewer()

Initializes an instance of the class.

public EditorDocumentViewer()

Properties

SyntaxEditor

The SyntaxEditor that owns the document.

public SyntaxEditor? SyntaxEditor { get; set; }

Property Value

SyntaxEditor

Methods

OnApplyTemplate()

Responds to calls to the ApplyTemplate() method.

public override void OnApplyTemplate()

OnPrintCommand()

Handles the Print routed command.

protected override void OnPrintCommand()

Extension Methods