Powerful rich text editor that allows you to load, edit, and save formatted text as HTML documents.
Namespace:
C1.Silverlight.RichTextBoxAssembly: C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)
Syntax
C# |
---|
[TemplatePartAttribute(Name = "Root", Type = typeof(Panel))] [TemplatePartAttribute(Name = "VerticalScrollBar", Type = typeof(ScrollBar))] [TemplatePartAttribute(Name = "ScrollBars", Type = typeof(FrameworkElement))] [TemplatePartAttribute(Name = "Watermark", Type = typeof(FrameworkElement))] [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")] [TemplateVisualStateAttribute(Name = "Valid", GroupName = "ValidationStatesStates")] [TemplateVisualStateAttribute(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")] [TemplatePartAttribute(Name = "HorizontalScrollBar", Type = typeof(ScrollBar))] [StyleTypedPropertyAttribute(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))] [StyleTypedPropertyAttribute(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))] [TemplateVisualStateAttribute(Name = "InvalidFocused", GroupName = "ValidationStatesStates")] [ContentPropertyAttribute("Document")] [TemplatePartAttribute(Name = "Content", Type = typeof(Grid))] public class C1RichTextBox : Control, ISupportInitialize |
Visual Basic |
---|
<TemplatePartAttribute(Name := "Root", Type := GetType(Panel))> _ <TemplatePartAttribute(Name := "VerticalScrollBar", Type := GetType(ScrollBar))> _ <TemplatePartAttribute(Name := "ScrollBars", Type := GetType(FrameworkElement))> _ <TemplatePartAttribute(Name := "Watermark", Type := GetType(FrameworkElement))> _ <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")> _ <TemplateVisualStateAttribute(Name := "Valid", GroupName := "ValidationStatesStates")> _ <TemplateVisualStateAttribute(Name := "InvalidUnfocused", GroupName := "ValidationStatesStates")> _ <TemplatePartAttribute(Name := "HorizontalScrollBar", Type := GetType(ScrollBar))> _ <StyleTypedPropertyAttribute(Property := "ScrollBarStyle", StyleTargetType := GetType(ScrollBar))> _ <StyleTypedPropertyAttribute(Property := "ValidationDecoratorStyle", StyleTargetType := GetType(C1ValidationDecorator))> _ <TemplateVisualStateAttribute(Name := "InvalidFocused", GroupName := "ValidationStatesStates")> _ <ContentPropertyAttribute("Document")> _ <TemplatePartAttribute(Name := "Content", Type := GetType(Grid))> _ Public Class C1RichTextBox _ Inherits Control _ Implements ISupportInitialize |
Inheritance Hierarchy
System..::..Object
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.RichTextBox..::..C1RichTextBox
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.RichTextBox..::..C1RichTextBox