Table of Contents

Class RichTextChange

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Describes one bounded part of an atomic rich-text change.

public abstract record RichTextChange : IEquatable<RichTextChange>
Inheritance
RichTextChange
Implements
Derived
Inherited Members

Constructors

RichTextChange(RichTextChange)

protected RichTextChange(RichTextChange original)

Parameters

original RichTextChange

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Kind

Gets the kind of content that changed.

public RichTextChangeKind Kind { get; }

Property Value

RichTextChangeKind

NewRange

Gets the affected range after the change.

public TextSpan NewRange { get; }

Property Value

TextSpan

OldRange

Gets the affected range before the change.

public TextSpan OldRange { get; }

Property Value

TextSpan

Methods

Equals(RichTextChange?)

public virtual bool Equals(RichTextChange? other)

Parameters

other RichTextChange

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RichTextChange?, RichTextChange?)

public static bool operator ==(RichTextChange? left, RichTextChange? right)

Parameters

left RichTextChange
right RichTextChange

Returns

bool

operator !=(RichTextChange?, RichTextChange?)

public static bool operator !=(RichTextChange? left, RichTextChange? right)

Parameters

left RichTextChange
right RichTextChange

Returns

bool