Toggles separate first-page headers and footers using the inverse of the current section's setting. In document-body mode, the change applies to selected sections; in header/footer edit mode, it applies to the current section.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ToggleDifferentFirstPageHeaderFooterCommand : ToggleCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleDifferentFirstPageHeaderFooterCommand
Implements:
Inherited Members
Constructors
Creates the command for the specified editor.
public ToggleDifferentFirstPageHeaderFooterCommand(RadRichTextBox radRichTextBox)
The editor whose selected sections or current section are updated.
Properties
Allows command availability checks in read-only ranges; changing the setting still requires editing permission.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Applies the inverse of the current section's setting to the selected sections in document-body mode, or to the current section in header/footer edit mode.
Raises ToggleStateChanged when the current section's setting changes.
protected override void UpdateSectionStyle()
Overrides: