Class RichTextLayoutSnapshot
- Namespace
- RichEdit.Maui
- Assembly
- RichEdit.Maui.dll
Immutable visible-layout metadata. Queries against stale or foreign captures return no result.
public sealed class RichTextLayoutSnapshot
- Inheritance
-
RichTextLayoutSnapshot
- Inherited Members
Properties
DocumentRevision
Gets the captured source-document revision.
public DocumentRevision DocumentRevision { get; }
Property Value
IsProvisional
Gets whether positions address this view's provisional composition text.
public bool IsProvisional { get; }
Property Value
LayoutVersion
Gets the layout generation, independent of source history.
public long LayoutVersion { get; }
Property Value
Lines
Gets visible native line fragments. No native objects are retained.
public IReadOnlyList<RichTextVisualLine> Lines { get; }
Property Value
SourceLength
Gets the UTF-16 length of the text addressed by this layout.
public int SourceLength { get; }
Property Value
TextViewport
Gets the viewport excluding padding and reserved margins.
public Rect TextViewport { get; }
Property Value
Viewport
Gets the visible editor rectangle in device-independent units.
public Rect Viewport { get; }