Constructs an element at the specified offset.
May return null if no element should be constructed.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override VisualLineElement ConstructElement( int offset )
Public Overrides Function ConstructElement ( _ offset As Integer _ ) As VisualLineElement
public: virtual VisualLineElement^ ConstructElement( int offset ) override
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