Table of Contents

Class StyledRange

Namespace
Signal.Domain.Messaging
Assembly
Signal.Domain.dll

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

Style TextStyle

The style.

Start int

Start position in the text (UTF-16 code units).

Length int

Length of the range (UTF-16 code units).

Properties

Length

Length of the range (UTF-16 code units).

public int Length { get; init; }

Property Value

int

Start

Start position in the text (UTF-16 code units).

public int Start { get; init; }

Property Value

int

Style

The style.

public TextStyle Style { get; init; }

Property Value

TextStyle