Table of Contents

Class RichEditorLayoutSnapshot

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

A native layout capture paired with the exact rich snapshot and its explicit text projection.

public sealed class RichEditorLayoutSnapshot
Inheritance
RichEditorLayoutSnapshot
Inherited Members

Properties

IsProvisional

Gets whether the capture includes provisional marked text.

public bool IsProvisional { get; }

Property Value

bool

LayoutVersion

Gets the native layout generation.

public long LayoutVersion { get; }

Property Value

long

Lines

Gets visible native lines. Their ranges address TextProjection, never an independently mutable string.

public IReadOnlyList<RichTextVisualLine> Lines { get; }

Property Value

IReadOnlyList<RichTextVisualLine>

TextProjection

Gets the snapshot-bound text projection used by the visible line ranges.

public RichTextProjection TextProjection { get; }

Property Value

RichTextProjection

Viewport

Gets the visible editor rectangle in control coordinates.

public Rect Viewport { get; }

Property Value

Rect