Class
ToggleHeaderFooterLinkToPreviousCommand

Represents a command that toggles the link to the previous header or footer in a RichTextBox document.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

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

Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleHeaderFooterLinkToPreviousCommand

Implements: ICommand

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

Constructors

ToggleHeaderFooterLinkToPreviousCommand(RadRichTextBox)

Declaration

cs-api-definition
public ToggleHeaderFooterLinkToPreviousCommand(RadRichTextBox radRichTextBox)

Parameters

radRichTextBox

RadRichTextBox

Properties

SupportedTargets

Gets the supported CommandTargets for the command.

Declaration

cs-api-definition
protected override CommandTargets SupportedTargets { get; }

Property Value

CommandTargets

Overrides RichTextBoxCommandBase.SupportedTargets

Methods

CanExecuteOverride(object)

Performs a check whether the command can be executed specific to the command.

Declaration

cs-api-definition
protected override bool CanExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter.

Returns

bool

Overrides RichTextBoxCommandBase.CanExecuteOverride(object)

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()

UpdateSpanStyle()

Declaration

cs-api-definition
protected override void UpdateSpanStyle()

Overrides ToggleCommandBase.UpdateSpanStyle()