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

Represents a command that toggles the italic formatting of the selected text in a RichTextBox.

Definition

Constructors

C#
public ToggleItalicCommand(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 override bool GetToggleState()
Returns:

bool

Overrides: ToggleCommandBase.GetToggleState()