TextRange Structure

References a portion of a text buffer.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public readonly struct TextRange : IEquatable<TextRange>
Inheritance
Object    ValueType    TextRange
Implements
IEquatableTextRange

Properties

End Gets the end.
Length Gets the length.
Start Gets the start.

Methods

GetTypeGets the Type of the current instance.
(Inherited from Object)
Skip(Int32) Bypasses a specified number of elements in the slice and then returns the remaining elements.
Take(Int32) Returns a specified number of contiguous elements from the start of the slice.

See Also