[]
Control for finding and replacing text from the toolbar.
[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
| Name | Description |
|---|---|
| C1FindAndReplace() | Initializes a new instance of a C1FindAndReplace. |
| Name | Description |
|---|---|
| DropDownProperty | Identifies the DropDown dependency property. |
| RichTextBoxProperty | Identifies the RichTextBox dependency property. |
| Name | Description |
|---|---|
| DropDown | Gets or sets the dropdown of this tool. |
| RichTextBox | Gets or sets the C1RichTextBox associated with this tool. |
| 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. |
| Name | Description |
|---|---|
| IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |