Class StyledRange
A styled range of a received message's text.
public sealed record StyledRange : IEquatable<StyledRange>
- Inheritance
-
StyledRange
- Implements
- Inherited Members
Constructors
StyledRange(TextStyle, int, int)
A styled range of a received message's text.
public StyledRange(TextStyle Style, int Start, int Length)
Parameters
StyleTextStyleThe style.
StartintStart position in the text (UTF-16 code units).
LengthintLength of the range (UTF-16 code units).
Properties
Length
Length of the range (UTF-16 code units).
public int Length { get; init; }
Property Value
Start
Start position in the text (UTF-16 code units).
public int Start { get; init; }
Property Value
Style
The style.
public TextStyle Style { get; init; }