Table of Contents

Struct RichTextEditOptions

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Configures an atomic document edit.

public readonly struct RichTextEditOptions : IEquatable<RichTextEditOptions>
Implements
Inherited Members

Constructors

RichTextEditOptions(RichTextUndoBehavior, string?, object?)

Initializes edit options.

public RichTextEditOptions(RichTextUndoBehavior undoBehavior = RichTextUndoBehavior.CreateUnit, string? undoDescription = null, object? tag = null)

Parameters

undoBehavior RichTextUndoBehavior

The requested undo-history behavior.

undoDescription string

An optional user-facing undo description.

tag object

Optional application data propagated to the change set.

Properties

Tag

Gets optional application data propagated to the change event.

public object? Tag { get; }

Property Value

object

UndoBehavior

Gets the requested undo-history behavior.

public RichTextUndoBehavior UndoBehavior { get; }

Property Value

RichTextUndoBehavior

UndoDescription

Gets an optional user-facing undo description.

public string? UndoDescription { get; }

Property Value

string

Methods

Equals(RichTextEditOptions)

public bool Equals(RichTextEditOptions other)

Parameters

other RichTextEditOptions

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

public static bool operator ==(RichTextEditOptions left, RichTextEditOptions right)

Parameters

left RichTextEditOptions
right RichTextEditOptions

Returns

bool

operator !=(RichTextEditOptions, RichTextEditOptions)

public static bool operator !=(RichTextEditOptions left, RichTextEditOptions right)

Parameters

left RichTextEditOptions
right RichTextEditOptions

Returns

bool