[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1RichTextBoxToolbar

C1RichTextBoxToolbar Class

Represents a toolbar for a C1RichTextBox.

Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.Toolbar.4.6.2.dll
Syntax
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1RichTextBoxToolbar : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1RichTextBoxToolbar()

Initializes a new instance of a C1RichTextBoxToolbar.

Fields

Name Description
RichTextBoxProperty

Identifies the RichTextBox dependency property.

SpellCheckerProperty

Identifies the SpellChecker dependency property.

Properties

Name Description
FontFamilies

Gets the collection of font families available in the toolbar.

FontSizes

Gets the collection of font sizes available in the toolbar.

LineNumberModes

Gets the collection of line number modes available in the toolbar.

LineSpacings

Gets the collection of line spacings available in the toolbar.

RichTextBox

Gets or sets the C1RichTextBox associated with this C1RichTextBoxToolbar.

SpellChecker

Gets or sets the C1.WPF.ISpellChecker used with the C1SpellCheckTool

Methods

Name Description
ChangeVisualStateCommon(bool)

Updates the current visual state of the Common visual state group to match the object's properties.

OnAfterApplyTemplate()
OnApplyTemplate()

Builds the visual tree for the C1RichTextBoxToolbar control when a new template is applied.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property has been updated.

SetCustomDefaultValues()

Events

Name Description
IsMouseOverChanged

Event raised when the IsMouseOver property has changed.

MessageBoxShowing

Occurs when showing message box