New to Telerik UI for WinForms? Start a free 30-day trial

Opens the font-properties dialog for the associated rich text box.

Definition

Constructors

Creates a command associated with the specified rich text box.

C#
public ShowFontPropertiesDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose font-properties dialog is opened.

Properties

Leaves focus handling to the dialog instead of restoring the document caret after execution.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

Shows the associated editor's font-properties dialog.

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

Ignored by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)