ClassRichTextBoxRoutedCommand
Represents a routed command for the RichTextBox in Telerik's Document Framework. This command encapsulates the logic to execute specific actions related to the RichTextBox control.
Definition
Namespace:Telerik.Windows.Documents.RichTextBoxCommands
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class RichTextBoxRoutedCommand : RoutedUICommand
Inheritance: objectRichTextBoxRoutedCommand
Constructors
Methods
CanExecute(object, RadRichTextBox)
Determines whether the specified command can be executed on the given RadRichTextBox instance.
Declaration
public bool CanExecute(object parameter, RadRichTextBox radRichTextBox)
Parameters
parameter
An optional object that can provide additional data for the command execution context.
radRichTextBox
The RadRichTextBox instance on which to evaluate the command's executability.
Returns
True if the command can be executed; otherwise, false.
Execute(object, RadRichTextBox)
Executes the command with the specified parameters against the provided RadRichTextBox instance.
Declaration
public void Execute(object parameter, RadRichTextBox radRichTextBox)
Parameters
parameter
An object that contains the parameters needed for execution.
radRichTextBox
The RadRichTextBox instance on which the command is executed.