New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Documents.RichTextBoxCommands

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public abstract class TableContextCommandBase : RichTextBoxCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseTableContextCommandBase

Derived Classes: ChangeTableColumnsLayoutModeCommandDeleteTableColumnCommandDeleteTableCommandDeleteTableRowCommandInsertTableColumnCommandInsertTableColumnToTheLeftCommandInsertTableColumnToTheRightCommandInsertTableRowAboveCommandInsertTableRowBelowCommandInsertTableRowCommandSelectTableCellCommandSelectTableColumnCommandSelectTableCommandSelectTableEmptyCommandSelectTableRowCommandShowTableBordersDialogCommandShowTablePropertiesDialogCommandTableCellContentAlignmentCommandUnmergeTableCellsCommand...

Implements: ICommand

Inherited Members RichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.ExecuteOverride(object)RichTextBoxCommandBase.UpdateSpanStyle()RichTextBoxCommandBase.UpdateSectionStyle()RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.CanExecuteInReadOnlyRangeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocumentRichTextBoxCommandBase.ShouldFocusCaretAfterExecuteRichTextBoxCommandBase.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged...

Constructors

Initializes a new instance of the TableContextCommandBase class.

C#
public TableContextCommandBase(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The associated RadRichTextBox.

Properties

Gets a value indicating whether command must be enabled when there is selection in table. Default implementation returns false.

C#
protected virtual bool IsTableSelectionEnabledCommand { get; }
Property Value:

true if the command must be enabled; otherwise, false.

Methods

C#
protected virtual bool CanExecuteOverride()
Returns:

bool

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

C#
protected override bool CanExecuteOverride(object parameter)
Parameters:parameterobject

The command parameter.

Returns:

bool

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

C#
protected virtual TableCell GetCurrentCellStyle()
Returns:

TableCell