Table of Contents

Class RichTextListItemFormat

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Associates one paragraph with a document list instance and nesting level.

public sealed record RichTextListItemFormat : IEquatable<RichTextListItemFormat>
Inheritance
RichTextListItemFormat
Implements
Inherited Members

Constructors

RichTextListItemFormat(RichTextListId, int, int?)

Initializes list-item state.

public RichTextListItemFormat(RichTextListId listId, int level, int? restartAt = null)

Parameters

listId RichTextListId

The existing document list identifier.

level int

The zero-based nesting level.

restartAt int?

An optional positive counter restart value.

Properties

Level

Gets the zero-based nesting level.

public int Level { get; }

Property Value

int

ListId

Gets the document-local list identifier.

public RichTextListId ListId { get; }

Property Value

RichTextListId

RestartAt

Gets an optional positive counter restart value.

public int? RestartAt { get; }

Property Value

int?

Methods

Equals(RichTextListItemFormat?)

public bool Equals(RichTextListItemFormat? other)

Parameters

other RichTextListItemFormat

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 ==(RichTextListItemFormat?, RichTextListItemFormat?)

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

Parameters

left RichTextListItemFormat
right RichTextListItemFormat

Returns

bool

operator !=(RichTextListItemFormat?, RichTextListItemFormat?)

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

Parameters

left RichTextListItemFormat
right RichTextListItemFormat

Returns

bool