Class RichTextBoxRoutedCommand
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.
Inheritance
Namespace: Telerik.Windows.Documents.RichTextBoxCommands
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class RichTextBoxRoutedCommand : RoutedUICommand
Constructors
RichTextBoxRoutedCommand(String)
Declaration
public RichTextBoxRoutedCommand(string name)
Parameters
System.String
name
|
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
System.Object
parameter
An optional object that can provide additional data for the command execution context. |
RadRichTextBox
radRichTextBox
The RadRichTextBox instance on which to evaluate the command's executability. |
Returns
System.Boolean
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
System.Object
parameter
An object that contains the parameters needed for execution. |
RadRichTextBox
radRichTextBox
The RadRichTextBox instance on which the command is executed. |