Class
ToggleTableLookCommandBase

Represents the base class for commands that toggle the look of a table in the RichTextBox.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class ToggleTableLookCommandBase : ToggleCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleTableLookCommandBase

Derived Classes: ToggleTableLookColumnBandingOptionCommandToggleTableLookFirstColumnOptionCommandToggleTableLookFirstRowOptionCommandToggleTableLookLastColumnOptionCommandToggleTableLookLastRowOptionCommandToggleTableLookRowBandingOptionCommand

Implements: ICommand

Inherited Members ToggleCommandBase.UpdateSpanStyle()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.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

ToggleTableLookCommandBase(RadRichTextBox)

Declaration

cs-api-definition
public ToggleTableLookCommandBase(RadRichTextBox editor)

Parameters

editor

RadRichTextBox

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)

ChangeTableLookProperty(Table)

Declaration

cs-api-definition
protected abstract void ChangeTableLookProperty(Table table)

Parameters

table

Table

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)

GetOptionState(Table)

Declaration

cs-api-definition
protected abstract bool GetOptionState(Table table)

Parameters

table

Table

Returns

bool

GetToggleState()

Declaration

cs-api-definition
protected override bool GetToggleState()

Returns

bool

Overrides ToggleCommandBase.GetToggleState()