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
TThe formatting-property value type.
- Implements
- Inherited Members
Properties
IsInherited
Gets whether every inspected authored value is inherited.
public bool IsInherited { get; }
Property Value
IsMixed
Gets whether the inspected values differ.
public bool IsMixed { get; }
Property Value
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
otherRichTextFormatValue<T>
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RichTextFormatValue<T>, RichTextFormatValue<T>)
public static bool operator ==(RichTextFormatValue<T> left, RichTextFormatValue<T> right)
Parameters
leftRichTextFormatValue<T>rightRichTextFormatValue<T>
Returns
operator !=(RichTextFormatValue<T>, RichTextFormatValue<T>)
public static bool operator !=(RichTextFormatValue<T> left, RichTextFormatValue<T> right)
Parameters
leftRichTextFormatValue<T>rightRichTextFormatValue<T>