Powerful rich text editor that allows you to load, edit, and save formatted text as HTML documents.

Namespace:  C1.Phone.RichTextBox
Assembly:  C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

C#
[TemplatePartAttribute(Name = "Root", Type = typeof(Panel))]
[TemplateVisualStateAttribute(Name = "Valid", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[StyleTypedPropertyAttribute(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))]
[StyleTypedPropertyAttribute(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
[ContentPropertyAttribute("Document")]
[TemplatePartAttribute(Name = "Content", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "HorizontalScrollBar", Type = typeof(ScrollBar))]
[TemplatePartAttribute(Name = "VerticalScrollBar", Type = typeof(ScrollBar))]
[TemplatePartAttribute(Name = "ScrollBars", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "Watermark", Type = typeof(FrameworkElement))]
[TemplateVisualStateAttribute(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "ReadOnly", GroupName = "WritableStates")]
[TemplateVisualStateAttribute(Name = "Writable", GroupName = "WritableStates")]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
public class C1RichTextBox : Control
Visual Basic
<TemplatePartAttribute(Name := "Root", Type := GetType(Panel))> _
<TemplateVisualStateAttribute(Name := "Valid", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "InvalidFocused", GroupName := "ValidationStatesStates")> _
<StyleTypedPropertyAttribute(Property := "ScrollBarStyle", StyleTargetType := GetType(ScrollBar))> _
<StyleTypedPropertyAttribute(Property := "ValidationDecoratorStyle", StyleTargetType := GetType(C1ValidationDecorator))> _
<ContentPropertyAttribute("Document")> _
<TemplatePartAttribute(Name := "Content", Type := GetType(Grid))> _
<TemplatePartAttribute(Name := "HorizontalScrollBar", Type := GetType(ScrollBar))> _
<TemplatePartAttribute(Name := "VerticalScrollBar", Type := GetType(ScrollBar))> _
<TemplatePartAttribute(Name := "ScrollBars", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "Watermark", Type := GetType(FrameworkElement))> _
<TemplateVisualStateAttribute(Name := "InvalidUnfocused", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "ReadOnly", GroupName := "WritableStates")> _
<TemplateVisualStateAttribute(Name := "Writable", GroupName := "WritableStates")> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
Public Class C1RichTextBox _
	Inherits Control
XAML Object Element Usage
<C1RichTextBox>
  Document
</C1RichTextBox>

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Phone.RichTextBox..::..C1RichTextBox

See Also