AvalonEdit
ConstructElement Method (offset)
NamespacesICSharpCode.AvalonEdit.RenderingVisualLineElementGeneratorConstructElement(Int32)
Constructs an element at the specified offset. May return null if no element should be constructed.
Declaration Syntax
C#Visual BasicVisual C++
public abstract VisualLineElement ConstructElement(
	int offset
)
Public MustOverride Function ConstructElement ( _
	offset As Integer _
) As VisualLineElement
public:
virtual VisualLineElement^ ConstructElement(
	int offset
) abstract
Parameters
offset (Int32)
Remarks
Avoid signalling interest and then building no element by returning null - doing so causes the generated VisualLineText elements to be unnecessarily split at the position where you signalled interest.

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