Control for finding and replacing text from the toolbar.

Namespace:  C1.Silverlight.RichTextBox
Assembly:  C1.Silverlight.RichTextBox.Toolbar (in C1.Silverlight.RichTextBox.Toolbar.dll)

Syntax

C#
[TemplatePartAttribute(Name = "ReplaceBox", Type = typeof(TextBox))]
[TemplatePartAttribute(Name = "ReplaceButton", Type = typeof(Button))]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "ReplaceAllButton", Type = typeof(Button))]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "FindButton", Type = typeof(Button))]
[TemplatePartAttribute(Name = "FindBox", Type = typeof(TextBox))]
public class C1FindAndReplace : Control
Visual Basic
<TemplatePartAttribute(Name := "ReplaceBox", Type := GetType(TextBox))> _
<TemplatePartAttribute(Name := "ReplaceButton", Type := GetType(Button))> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplatePartAttribute(Name := "ReplaceAllButton", Type := GetType(Button))> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplatePartAttribute(Name := "FindButton", Type := GetType(Button))> _
<TemplatePartAttribute(Name := "FindBox", Type := GetType(TextBox))> _
Public Class C1FindAndReplace _
	Inherits Control

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Silverlight.RichTextBox..::..C1FindAndReplace

See Also