PrintPreviewCommand
Class
Opens the print preview for the editor's current document.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class PrintPreviewCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBasePrintPreviewCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
C#
public PrintPreviewCommand(RadRichTextBox radRichTextBox)
The rich text box whose document is previewed.
Properties
Gets Always because print preview does not edit the document.
C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Gets a value indicating that print preview is allowed when the editor is in read-only mode.
C#
protected override bool CanExecuteInReadOnlyMode { get; }
Overrides:
Gets a value indicating that print preview is allowed in read-only ranges.
C#
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Opens print preview for the editor's current document.
C#
protected override void ExecuteOverride(object parameter)
Not used.
Overrides: