Exits header/footer editing mode and returns the editor to document-body editing.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class ExitHeaderFooterEditModeCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseExitHeaderFooterEditModeCommand
Implements:
Inherited Members
Constructors
Creates the command and tracks header/footer mode changes to refresh its availability.
C#
public ExitHeaderFooterEditModeCommand(RadRichTextBox editor)
The editor whose header/footer editing mode can be exited.
Properties
Allows availability checks when the current editing context is read-only.
C#
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Declares the document-body and header/footer targets; command availability is separately limited to header/footer edit mode.
C#
protected override CommandTargets SupportedTargets { get; }
Overrides:
Methods
Leaves header/footer editing mode.