New to Telerik UI for WPFStart a free 30-day trial

Text UI layer class serving for formatting ClassificationTag text matches.

Definition

Constructors

C#
public TextUILayer()

Properties

Gets the name of the layer.

C#
public override string Name { get; }

Overrides: UILayer.Name

Methods

Gets the line part UI element.

C#
protected override FrameworkElement GetLinePartUIElement(ClassificationTag tag, Span span, UIUpdateContext updateContext)
Parameters:tagClassificationTagspanSpanupdateContextUIUpdateContextReturns:

FrameworkElement

Overrides: LineBasedUILayer<ClassificationTag>.GetLinePartUIElement(ClassificationTag, Span, UIUpdateContext)

Gets the line UI elements.

C#
protected override IEnumerable<FrameworkElement> GetLineUIElements(Span currentLineSpan, IEnumerable<TagSpan<ClassificationTag>> tags, UIUpdateContext updateContext)
Parameters:currentLineSpanSpantagsIEnumerable<TagSpan<ClassificationTag>>updateContextUIUpdateContextReturns:

IEnumerable<FrameworkElement>

Overrides: LineBasedUILayer<ClassificationTag>.GetLineUIElements(Span, IEnumerable<TagSpan<ClassificationTag>>, UIUpdateContext)

Resets the pooled element properties.

C#
protected override void ResetPooledElementProperties(object element)
Parameters:elementobject

Overrides: PooledUILayer.ResetPooledElementProperties(object)

Updates the UI override.

C#
protected override void UpdateUIOverride(UIUpdateContext updateContext, TextSnapshotSpan changedSnapshotSpan)
Parameters:updateContextUIUpdateContextchangedSnapshotSpanTextSnapshotSpan

Overrides: LineBasedUILayer<ClassificationTag>.UpdateUIOverride(UIUpdateContext, TextSnapshotSpan)