Class
TextUnderlineUILayer

Class TextUnderlineUILayer.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI.Layers

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class TextUnderlineUILayer : LineBasedUILayer<UnderlineTag>

Inheritance: objectUILayerPooledUILayerTagBasedUILayer<UnderlineTag>LineBasedUILayer<UnderlineTag>TextUnderlineUILayer

Inherited Members LineBasedUILayer<UnderlineTag>.ElementToSnapshotSpanCacheLineBasedUILayer<UnderlineTag>.Clear()LineBasedUILayer<UnderlineTag>.NormalizeByTextFormatDefinitionPriority(Span, IEnumerable<TagSpan<UnderlineTag>>, UIUpdateContext)LineBasedUILayer<UnderlineTag>.GetLineUIElements(Span, IEnumerable<TagSpan<UnderlineTag>>, UIUpdateContext)LineBasedUILayer<UnderlineTag>.OnTextFormatDefinitionsRegistryChanged()LineBasedUILayer<UnderlineTag>.UpdateUIOverride(UIUpdateContext, TextSnapshotSpan)TagBasedUILayer<UnderlineTag>.UpdateUIOverride(UIUpdateContext)TagBasedUILayer<UnderlineTag>.TaggerPooledUILayer.AddElementToPool(object)PooledUILayer.GetElementFromPool<T>()UILayer.UpdateUI()UILayer.UpdateUI(UIUpdateContext)UILayer.OnAssociatedEditorChanged(RadSyntaxEditor, RadSyntaxEditor)UILayer.TranslateAndScale(UIUpdateContext)UILayer.ContainerUILayer.AssociatedEditor

Constructors

TextUnderlineUILayer()

Declaration

cs-api-definition
public TextUnderlineUILayer()

Properties

Name

Gets the name.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name.

Overrides UILayer.Name

Methods

ArrangeLinePartUIElement(FrameworkElement, Span, UIUpdateContext)

Arranges the line part UI element.

Declaration

cs-api-definition
protected override void ArrangeLinePartUIElement(FrameworkElement uiElement, Span span, UIUpdateContext updateContext)

Parameters

uiElement

FrameworkElement

The UI element.

span

Span

The span.

updateContext

UIUpdateContext

The update context.

Overrides LineBasedUILayer<UnderlineTag>.ArrangeLinePartUIElement(FrameworkElement, Span, UIUpdateContext)

CanRecycle(object)

Determines whether this instance can recycle the specified element.

Declaration

cs-api-definition
protected override bool CanRecycle(object element)

Parameters

element

object

The element.

Returns

bool

true if this instance can recycle the specified element; otherwise, false.

Overrides PooledUILayer.CanRecycle(object)

GetLinePartUIElement(UnderlineTag, Span, UIUpdateContext)

Gets the line part UI element.

Declaration

cs-api-definition
protected override FrameworkElement GetLinePartUIElement(UnderlineTag tag, Span span, UIUpdateContext updateContext)

Parameters

tag

UnderlineTag

The tag.

span

Span

The span.

updateContext

UIUpdateContext

The update context.

Returns

FrameworkElement

System.Windows.FrameworkElement.

Overrides LineBasedUILayer<UnderlineTag>.GetLinePartUIElement(UnderlineTag, Span, UIUpdateContext)

ResetPooledElementProperties(object)

Resets the pooled element properties.

Declaration

cs-api-definition
protected override void ResetPooledElementProperties(object element)

Parameters

element

object

The element.

Exceptions

InvalidOperationException

Underlines cannot be recycled.

Overrides PooledUILayer.ResetPooledElementProperties(object)