Class TextUILayer
Text UI layer class serving for formatting ClassificationTag text matches.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.UI.Layers
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class TextUILayer : LineBasedUILayer<ClassificationTag>
Constructors
TextUILayer()
Declaration
public TextUILayer()
Properties
Name
Gets the name of the layer.
Declaration
public override string Name { get; }
Property Value
System.String
|
Overrides
Methods
GetLinePartUIElement(ClassificationTag, Span, UIUpdateContext)
Gets the line part UI element.
Declaration
protected override FrameworkElement GetLinePartUIElement(ClassificationTag tag, Span span, UIUpdateContext updateContext)
Parameters
ClassificationTag
tag
|
Span
span
|
UIUpdateContext
updateContext
|
Returns
FrameworkElement
|
Overrides
GetLineUIElements(Span, IEnumerable<TagSpan<ClassificationTag>>, UIUpdateContext)
Gets the line UI elements.
Declaration
protected override IEnumerable<FrameworkElement> GetLineUIElements(Span currentLineSpan, IEnumerable<TagSpan<ClassificationTag>> tags, UIUpdateContext updateContext)
Parameters
Span
currentLineSpan
|
System.Collections.Generic.IEnumerable<TagSpan<ClassificationTag>>
tags
|
UIUpdateContext
updateContext
|
Returns
System.Collections.Generic.IEnumerable<FrameworkElement>
|
Overrides
ResetPooledElementProperties(Object)
Resets the pooled element properties.
Declaration
protected override void ResetPooledElementProperties(object element)
Parameters
System.Object
element
|
Overrides
UpdateUIOverride(UIUpdateContext, TextSnapshotSpan)
Updates the UI override.
Declaration
protected override void UpdateUIOverride(UIUpdateContext updateContext, TextSnapshotSpan changedSnapshotSpan)
Parameters
UIUpdateContext
updateContext
|
TextSnapshotSpan
changedSnapshotSpan
|