Stores rich-text formatting.
            
 Declaration Syntax
 Declaration Syntax| C# | Visual Basic | Visual C++ | 
public sealed class RichTextModel
Public NotInheritable Class RichTextModel
public ref class RichTextModel sealed
 Members
 Members| All Members | Constructors | Methods | |||
| Icon | Member | Description | 
|---|---|---|
|  | RichTextModel()()()() | 
            Creates a new RichTextModel.
             | 
|  | ApplyHighlighting(Int32, Int32, HighlightingColor) | 
            Applies the HighlightingColor to the specified range of text.
            If the color specifies null for some properties, existing highlighting is preserved.
             | 
|  | CreateRuns(ITextSource) | 
            Creates WPF Run instances that can be used for TextBlock.Inlines.
             | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetHighlightedSections(Int32, Int32) | 
            Retrieves the highlighted sections in the specified range.
            The highlighted sections will be sorted by offset, and there will not be any nested or overlapping sections.
             | 
|  | GetHighlightingAt(Int32) | 
            Gets a copy of the HighlightingColor for the specified offset.
             | 
|  | GetType()()()() | Gets the Type of the current instance.(Inherited from Object.) | 
|  | SetBackground(Int32, Int32, HighlightingBrush) | 
            Sets the background brush on the specified text segment.
             | 
|  | SetFontStyle(Int32, Int32, FontStyle) | 
            Sets the font style on the specified text segment.
             | 
|  | SetFontWeight(Int32, Int32, FontWeight) | 
            Sets the font weight on the specified text segment.
             | 
|  | SetForeground(Int32, Int32, HighlightingBrush) | 
            Sets the foreground brush on the specified text segment.
             | 
|  | SetHighlighting(Int32, Int32, HighlightingColor) | 
            Sets the HighlightingColor for the specified range of text,
            completely replacing the existing highlighting in that area.
             | 
|  | ToString()()()() | (Inherited from Object.) | 
|  | UpdateOffsets(TextChangeEventArgs) | 
            Updates the start and end offsets of all segments stored in this collection.
             | 
|  | UpdateOffsets(OffsetChangeMap) | 
            Updates the start and end offsets of all segments stored in this collection.
             | 
|  | UpdateOffsets(OffsetChangeMapEntry) | 
            Updates the start and end offsets of all segments stored in this collection.
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | RichTextModel | 
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238

