New to Telerik UI for WPFStart a free 30-day trial

Represents a command that changes the font family of selected text in a RichTextBox.

Definition

Constructors

C#
public ChangeFontFamilyCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

Methods

Performs the execute action specific to the command.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

The command parameter.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)

C#
protected virtual void OnFontFamilyChanged(StylePropertyChangedEventArgs<FontFamily> e)
Parameters:eStylePropertyChangedEventArgs<FontFamily>
C#
protected override void UpdateSpanStyle()

Overrides: RichTextBoxCommandBase.UpdateSpanStyle()

Events

C#
public event EventHandler<StylePropertyChangedEventArgs<FontFamily>> FontFamilyChanged