ClassChangeFontFamilyCommand
Class
Represents a command that changes the font family of selected text in a RichTextBox.
Definition
Namespace:Telerik.Windows.Documents.RichTextBoxCommands
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class ChangeFontFamilyCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseChangeFontFamilyCommand
Implements:
Inherited Members
Constructors
ChangeFontFamilyCommand(RadRichTextBox)
Declaration
cs-api-definition
public ChangeFontFamilyCommand(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
OnFontFamilyChanged(StylePropertyChangedEventArgs<FontFamily>)
Declaration
cs-api-definition
protected virtual void OnFontFamilyChanged(StylePropertyChangedEventArgs<FontFamily> e)
Parameters
e
StylePropertyChangedEventArgs<FontFamily>
UpdateSpanStyle()
Declaration
cs-api-definition
protected override void UpdateSpanStyle()
Overrides
Events
FontFamilyChanged
Declaration
cs-api-definition
public event EventHandler<StylePropertyChangedEventArgs<FontFamily>> FontFamilyChanged
Event Value
EventHandler<StylePropertyChangedEventArgs<FontFamily>>