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

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

Definition

Constructors

C#
public DrawingContextCommandBase(RadRichTextBox editor)
Parameters:editorRadRichTextBox

Methods

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

C#
public static bool CanExecuteDrawingContextCommand(RadDocument doc)
Parameters:docRadDocument

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.