Class
ToggleDifferentFirstPageHeaderFooterCommand

Definition

Namespace:Telerik.WinForms.Documents.RichTextBoxCommands

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
public class ToggleDifferentFirstPageHeaderFooterCommand : ToggleCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleDifferentFirstPageHeaderFooterCommand

Implements: ICommand

Inherited Members ToggleCommandBase.UpdateSpanStyle()ToggleCommandBase.OnToggleStateChanged(StylePropertyChangedEventArgs<bool>)ToggleCommandBase.ToggleStateChangedRichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.CanExecuteOverride(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocumentRichTextBoxCommandBase.ShouldFocusCaretAfterExecuteRichTextBoxCommandBase.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

ToggleDifferentFirstPageHeaderFooterCommand(RadRichTextBox)

Declaration

cs-api-definition
public ToggleDifferentFirstPageHeaderFooterCommand(RadRichTextBox radRichTextBox)

Parameters

radRichTextBox

RadRichTextBox

Properties

CanExecuteInReadOnlyRange

Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.

Declaration

cs-api-definition
protected override bool CanExecuteInReadOnlyRange { get; }

Property Value

bool

Overrides RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Methods

ExecuteOverride(object)

Performs the execute action specific to the command.

Declaration

cs-api-definition
protected override void ExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter.

Overrides RichTextBoxCommandBase.ExecuteOverride(object)

GetToggleState()

Declaration

cs-api-definition
protected override bool GetToggleState()

Returns

bool

Overrides ToggleCommandBase.GetToggleState()

UpdateSectionStyle()

Declaration

cs-api-definition
protected override void UpdateSectionStyle()

Overrides RichTextBoxCommandBase.UpdateSectionStyle()