ClassToggleCommandBase
Class
Represents the base class for toggle commands in the Telerik RichTextBox. This class provides functionality to create commands that can toggle the state of certain properties.
Definition
Namespace:Telerik.Windows.Documents.RichTextBoxCommands
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public abstract class ToggleCommandBase : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseToggleCommandBase
Derived Classes:
Implements:
Inherited Members
Constructors
ToggleCommandBase(RadRichTextBox)
Declaration
cs-api-definition
public ToggleCommandBase(RadRichTextBox editor)
Parameters
editor
Methods
OnToggleStateChanged(StylePropertyChangedEventArgs<bool>)
Declaration
cs-api-definition
protected virtual void OnToggleStateChanged(StylePropertyChangedEventArgs<bool> e)
Parameters
e
UpdateSpanStyle()
Declaration
cs-api-definition
protected override void UpdateSpanStyle()
Overrides
Events
ToggleStateChanged
Declaration
cs-api-definition
public event EventHandler<StylePropertyChangedEventArgs<bool>> ToggleStateChanged
Event Value