[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1ToggleItemTool-1

C1ToggleItemTool<T> Class

Abstract base class for toggle buttons in C1RichTextBoxToolbar.

Implements
Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.Toolbar.4.6.2.dll
Syntax
public abstract class C1ToggleItemTool<T> : C1ToolbarToggleItem, IUpdateableTool
Type Parameters
Name Description
T

The type of values toggled by the button.

Constructors

Name Description
C1ToggleItemTool()

Initializes a new instance of a C1ToggleItemTool<T>.

Fields

Name Description
RichTextBoxProperty

Identifies the RichTextBox dependency property.

Properties

Name Description
CheckedValue
IsAlignTool
RichTextBox

Gets or sets the C1RichTextBox this tool edits.

UnCheckedValue

Methods

Name Description
GetValue(C1TextRange)
OnClick()
SetValue(C1TextRange, T)
Update()

Method called when the tool should update its state.