Class
ShapeContextCommandBase

Represents the base class for commands related to shape context in the RichTextBox.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

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

Inheritance: objectRichTextBoxCommandBaseShapeContextCommandBase

Derived Classes: ChangeRotateTextWithShapeCommandChangeShapeAutoFitToTextCommandChangeShapeFillCommandChangeShapeOutlineDashCommandChangeShapeOutlineFillCommandChangeShapeOutlineWidthCommandChangeShapeTextBottomMarginCommandChangeShapeTextFillCommandChangeShapeTextLeftMarginCommandChangeShapeTextOutlineDashCommandChangeShapeTextOutlineFillCommandChangeShapeTextOutlineWidthCommandChangeShapeTextRightMarginCommandChangeShapeTextRotationCommandChangeShapeTextTopMarginCommandChangeShapeTextVerticalAlignmentCommandChangeShapeTextWrapCommandChangeShapeWrappingStyleCommandConvertFloatingShapeToShapeInlineCommandInsertTextBoxCommand

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

ShapeContextCommandBase(RadRichTextBox)

Declaration

cs-api-definition
public ShapeContextCommandBase(RadRichTextBox editor)

Parameters

editor

RadRichTextBox

Methods

CanExecuteShapeContextCommand(RadDocument)

Determines whether the shape context command can be executed on the specified document.

Declaration

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

Parameters

doc

RadDocument

The RadDocument on which the shape context command is evaluated.

Returns

bool

True if the command can be executed; otherwise, false.