Table of Contents

Struct RichTextFormatValue<T>

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Describes one formatting property across a document range without using a sentinel value for mixed or inherited state.

public readonly struct RichTextFormatValue<T> : IEquatable<RichTextFormatValue<T>>

Type Parameters

T

The formatting-property value type.

Implements
Inherited Members

Properties

IsInherited

Gets whether every inspected authored value is inherited.

public bool IsInherited { get; }

Property Value

bool

IsMixed

Gets whether the inspected values differ.

public bool IsMixed { get; }

Property Value

bool

Value

Gets the first value in document order. Inspect IsMixed before treating it as uniform.

public T Value { get; }

Property Value

T

Methods

Equals(RichTextFormatValue<T>)

public bool Equals(RichTextFormatValue<T> other)

Parameters

other RichTextFormatValue<T>

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RichTextFormatValue<T>, RichTextFormatValue<T>)

public static bool operator ==(RichTextFormatValue<T> left, RichTextFormatValue<T> right)

Parameters

left RichTextFormatValue<T>
right RichTextFormatValue<T>

Returns

bool

operator !=(RichTextFormatValue<T>, RichTextFormatValue<T>)

public static bool operator !=(RichTextFormatValue<T> left, RichTextFormatValue<T> right)

Parameters

left RichTextFormatValue<T>
right RichTextFormatValue<T>

Returns

bool