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

Opens the configured paragraph-properties dialog for the paragraph at the caret.

Definition

Constructors

Initializes the command for the specified editor.

C#
public ShowParagraphPropertiesDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box whose paragraph properties are displayed.

Properties

Prevents the command from restoring caret focus to the editor after the dialog is shown.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

Opens the editor's paragraph-properties dialog when a document and dialog are available.

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

Not used.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)