ClassChangeStyleNameCommand
Class
Represents a command that changes the style name of the selected content in the RichTextBox.
Definition
Namespace:Telerik.Windows.Documents.RichTextBoxCommands
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class ChangeStyleNameCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseChangeStyleNameCommand
Implements:
Inherited Members
Constructors
ChangeStyleNameCommand(RadRichTextBox)
Declaration
cs-api-definition
public ChangeStyleNameCommand(RadRichTextBox editor)
Parameters
editor
Methods
ExecuteOverride(object)
Performs the execute action specific to the command.
Declaration
cs-api-definition
protected override void ExecuteOverride(object parameter)
Parameters
parameter
The command parameter.
Overrides
OnStyleNameChanged(StylePropertyChangedEventArgs<string>)
Declaration
cs-api-definition
protected virtual void OnStyleNameChanged(StylePropertyChangedEventArgs<string> e)
Parameters
e
UpdateSpanStyle()
Declaration
cs-api-definition
protected override void UpdateSpanStyle()
Overrides
Events
StyleNameChanged
Declaration
cs-api-definition
public event EventHandler<StylePropertyChangedEventArgs<string>> StyleNameChanged
Event Value