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
Determines whether the specified command can be executed on the given RadRichTextBox instance.
public bool CanExecute(object parameter, RadRichTextBox radRichTextBox)
An optional object that can provide additional data for the command execution context.
radRichTextBoxRadRichTextBoxThe RadRichTextBox instance on which to evaluate the command's executability.
Returns:True if the command can be executed; otherwise, false.
Executes the command with the specified parameters against the provided RadRichTextBox instance.
public void Execute(object parameter, RadRichTextBox radRichTextBox)
An object that contains the parameters needed for execution.
radRichTextBoxRadRichTextBoxThe RadRichTextBox instance on which the command is executed.