Table of Contents

Class RichTextListLevelDefinition

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Defines the marker and layout of one nesting level.

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

Constructors

RichTextListLevelDefinition()

public RichTextListLevelDefinition()

Properties

FirstLineIndent

Gets the first-line or hanging indent in points.

public double FirstLineIndent { get; init; }

Property Value

double

LeadingIndent

Gets the leading paragraph indent in points.

public double LeadingIndent { get; init; }

Property Value

double

Marker

Gets the caller-selected marker definition.

public required RichTextListMarker Marker { get; init; }

Property Value

RichTextListMarker

MarkerTab

Gets the marker tab position in points.

public double MarkerTab { get; init; }

Property Value

double

Prefix

Gets the text placed before a numbered marker value.

public required string Prefix { get; init; }

Property Value

string

Suffix

Gets the text placed after a numbered marker value.

public required string Suffix { get; init; }

Property Value

string

Methods

Equals(RichTextListLevelDefinition?)

public bool Equals(RichTextListLevelDefinition? other)

Parameters

other RichTextListLevelDefinition

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

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

Parameters

left RichTextListLevelDefinition
right RichTextListLevelDefinition

Returns

bool

operator !=(RichTextListLevelDefinition?, RichTextListLevelDefinition?)

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

Parameters

left RichTextListLevelDefinition
right RichTextListLevelDefinition

Returns

bool