AvalonEdit
HighlightedInlineBuilder Class
NamespacesICSharpCode.AvalonEdit.HighlightingHighlightedInlineBuilder
Takes a series of highlighting commands and stores them. Later, it can build inline objects (for use with WPF TextBlock) from the commands.
Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Use RichText / RichTextModel instead")]
public sealed class HighlightedInlineBuilder
<ObsoleteAttribute("Use RichText / RichTextModel instead")> _
Public NotInheritable Class HighlightedInlineBuilder
[ObsoleteAttribute(L"Use RichText / RichTextModel instead")]
public ref class HighlightedInlineBuilder sealed
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
HighlightedInlineBuilder(String)
Creates a new HighlightedInlineBuilder instance.

HighlightedInlineBuilder(RichText)
Creates a new HighlightedInlineBuilder instance.

Clone()()()()
Clones this HighlightedInlineBuilder.

CreateRuns()()()()
Creates WPF Run instances that can be used for TextBlock.Inlines.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
SetBackground(Int32, Int32, Brush)
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, Brush)
Sets the foreground brush on the specified text segment.

SetHighlighting(Int32, Int32, HighlightingColor)
Applies the properties from the HighlightingColor to the specified text segment.

Text
Gets the text.

ToRichText()()()()
Creates a RichText instance.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
This class is not used in AvalonEdit - but it is useful for someone who wants to put a HighlightedLine into a TextBlock. In SharpDevelop, we use it to provide syntax highlighting inside the search results pad.
Inheritance Hierarchy
Object
HighlightedInlineBuilder

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238