Table of Contents

Class RichReviewView

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

A selectable native, read-only original or final projection of a rich document.

public sealed class RichReviewView : ContentView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance
RichReviewView
Implements
Inherited Members

Remarks

The source document owns all changes and history. The private native renderer receives a derived snapshot with editing and history disabled. Accept or reject through the source document.

Constructors

RichReviewView()

Creates a native review surface over an empty source document.

public RichReviewView()

Fields

ModeProperty

Identifies the original or final review state.

public static readonly BindableProperty ModeProperty

Field Value

BindableProperty

SourceProperty

Identifies the canonical source document.

public static readonly BindableProperty SourceProperty

Field Value

BindableProperty

Properties

FontFamily

Gets or sets a fallback font family for unresolved authored text.

public string? FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets a fallback font size in points.

public double? FontSize { get; set; }

Property Value

double?

Mode

Gets or sets the read-only review state.

public RichReviewMode Mode { get; set; }

Property Value

RichReviewMode

Projection

Gets the displayed projection and its canonical address maps.

public RichReviewProjection Projection { get; }

Property Value

RichReviewProjection

Selection

Gets or sets selection in the displayed projection's rich coordinates.

public RichSelection Selection { get; set; }

Property Value

RichSelection

Source

Gets or sets the canonical document. Review refreshes never change this document's saved state or history.

public RichDocument Source { get; set; }

Property Value

RichDocument

TextColor

Gets or sets a fallback text color.

public Color? TextColor { get; set; }

Property Value

Color

TextLayout

Gets native geometry for the displayed review state.

public RichEditorLayout TextLayout { get; }

Property Value

RichEditorLayout

Methods

CopyAsync()

Copies displayed content through the RTF clipboard path with ordinary text fallback.

public Task CopyAsync()

Returns

Task

Focus()

Focuses the native selectable review surface.

public bool Focus()

Returns

bool

Refresh()

Synchronously captures the latest source revision. Source changes also queue a coalesced refresh.

public void Refresh()

SelectAll()

Selects all displayed body content.

public void SelectAll()

Events

ProjectionChanged

Occurs after the review snapshot and native rendering source have been replaced.

public event EventHandler? ProjectionChanged

Event Type

EventHandler

SelectionChanged

Occurs when the displayed projection's selection changes.

public event EventHandler? SelectionChanged

Event Type

EventHandler