Class ToggleCommandBase
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.
Inherited Members
Namespace: Telerik.Windows.Documents.RichTextBoxCommands
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public abstract class ToggleCommandBase : RichTextBoxCommandBase, ICommand
Constructors
ToggleCommandBase(RadRichTextBox)
Methods
GetToggleState()
Declaration
protected abstract bool GetToggleState()
Returns
System.Boolean
|
OnToggleStateChanged(StylePropertyChangedEventArgs<Boolean>)
Declaration
protected virtual void OnToggleStateChanged(StylePropertyChangedEventArgs<bool> e)
Parameters
StylePropertyChangedEventArgs<System.Boolean>
e
|
UpdateSpanStyle()
Declaration
protected override void UpdateSpanStyle()
Overrides
Events
ToggleStateChanged
Declaration
public event EventHandler<StylePropertyChangedEventArgs<bool>> ToggleStateChanged
Event Type
System.EventHandler<StylePropertyChangedEventArgs<System.Boolean>>
|