AvalonEdit
ColorizingTransformer Class
NamespacesICSharpCode.AvalonEdit.RenderingColorizingTransformer
Base class for IVisualLineTransformer that helps splitting visual elements so that colors (and other text properties) can be easily assigned to individual words/characters.
Declaration Syntax
C#Visual BasicVisual C++
public abstract class ColorizingTransformer : IVisualLineTransformer, 
	ITextViewConnect
Public MustInherit Class ColorizingTransformer _
	Implements IVisualLineTransformer, ITextViewConnect
public ref class ColorizingTransformer abstract : IVisualLineTransformer, 
	ITextViewConnect
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ColorizingTransformer()()()()
Initializes a new instance of the ColorizingTransformer class

ChangeVisualElements(Int32, Int32, Action<(Of <<'(VisualLineElement>)>>))
Changes visual element properties. This method accesses CurrentElements, so it must be called only during a Transform(ITextRunConstructionContext, IList<(Of <<'(VisualLineElement>)>>)) call. This method splits VisualLineElements as necessary to ensure that the region can be colored by setting the TextRunProperties of whole elements, and then calls the action on all elements in the region.

Colorize(ITextRunConstructionContext)
Performs the colorization.

CurrentElements
Gets the list of elements currently being transformed.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(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.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnAddToTextView(TextView)
Called when added to a text view.

OnRemoveFromTextView(TextView)
Called when removed from a text view.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Transform(ITextRunConstructionContext, IList<(Of <<'(VisualLineElement>)>>))
Inheritance Hierarchy

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