ClassDrawingContextCommandBase
Class
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:
Implements:
Inherited Members
Constructors
DrawingContextCommandBase(RadRichTextBox)
Declaration
cs-api-definition
public DrawingContextCommandBase(RadRichTextBox editor)
Parameters
editor
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
The RadDocument for which to check the ability to execute the drawing context command.
Returns
Returns true if the drawing context command can be executed; otherwise, false.