Class
DrawingContextCommandBase

Represents the base class for commands that interact with the drawing context in the Telerik RichTextBox.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class DrawingContextCommandBase : RichTextBoxCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseDrawingContextCommandBase

Derived Classes: ShowFloatingBlockPropertiesDialogCommand

Implements: ICommand

Inherited Members RichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.CanExecuteOverride(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

DrawingContextCommandBase(RadRichTextBox)

Declaration

cs-api-definition
public DrawingContextCommandBase(RadRichTextBox editor)

Parameters

editor

RadRichTextBox

Methods

CanExecuteDrawingContextCommand(RadDocument)

Determines whether the specified drawing context command can be executed for the given RadDocument.

Declaration

cs-api-definition
public static bool CanExecuteDrawingContextCommand(RadDocument doc)

Parameters

doc

RadDocument

The RadDocument for which to check the ability to execute the drawing context command.

Returns

bool

Returns true if the drawing context command can be executed; otherwise, false.