ClassShapeContextCommandBase
Class
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:
Implements:
Inherited Members
Constructors
ShapeContextCommandBase(RadRichTextBox)
Declaration
cs-api-definition
public ShapeContextCommandBase(RadRichTextBox editor)
Parameters
editor
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
The RadDocument on which the shape context command is evaluated.
Returns
True if the command can be executed; otherwise, false.