New to Telerik UI for WPF? Start a free 30-day trial

Tag-Span couple.

Definition

Namespace:Telerik.Windows.SyntaxEditor.Core.Tagging

Assembly:Telerik.Windows.SyntaxEditor.Core.dll

Type Parameters:

T

Syntax:

C#
public class TagSpan<T> where T : ITag

Inheritance: objectTagSpan<T>

Constructors

Initializes a new instance of the TagSpan<T> class.

C#
public TagSpan(TextSnapshotSpan textSnapshotSpan, T tag)
Parameters:textSnapshotSpanTextSnapshotSpantagT

Properties

Gets the span.

C#
public TextSnapshotSpan SnapshotSpan { get; }

Gets the tag.

C#
public T Tag { get; }