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

Clears character formatting and style names from selected content and removes list style from selected list paragraphs, but leaves paragraph-formatting properties intact.

Definition

Constructors

Initializes the command for the specified editor.

C#
public ClearAllFormattingCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The editor whose selected content is cleared of formatting.

Methods

Clears character formatting and style names from selected content and removes list style from selected list paragraphs.

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

Not used by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)