[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1FindAndReplace

C1FindAndReplace Class

Control for finding and replacing text from the toolbar.

Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.Toolbar.4.6.2.dll
Syntax
[TemplatePart(Name = "FindBox", Type = typeof(TextBox))]
[TemplatePart(Name = "ReplaceBox", Type = typeof(TextBox))]
[TemplatePart(Name = "FindButton", Type = typeof(Button))]
[TemplatePart(Name = "ReplaceButton", Type = typeof(Button))]
[TemplatePart(Name = "ReplaceAllButton", Type = typeof(Button))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1FindAndReplace : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1FindAndReplace()

Initializes a new instance of a C1FindAndReplace.

Fields

Name Description
DropDownProperty

Identifies the DropDown dependency property.

RichTextBoxProperty

Identifies the RichTextBox dependency property.

Properties

Name Description
DropDown

Gets or sets the dropdown of this tool.

RichTextBox

Gets or sets the C1RichTextBox associated with this tool.

Methods

Name Description
ChangeVisualStateCommon(bool)

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

OnApplyTemplate()

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

OnPropertyChanged(DependencyPropertyChangedEventArgs)

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

Events

Name Description
IsMouseOverChanged

Event raised when the IsMouseOver property has changed.