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
undoBehaviorRichTextUndoBehaviorThe requested undo-history behavior.
undoDescriptionstringAn optional user-facing undo description.
tagobjectOptional application data propagated to the change set.
Properties
Tag
Gets optional application data propagated to the change event.
public object? Tag { get; }
Property Value
UndoBehavior
Gets the requested undo-history behavior.
public RichTextUndoBehavior UndoBehavior { get; }
Property Value
UndoDescription
Gets an optional user-facing undo description.
public string? UndoDescription { get; }
Property Value
Methods
Equals(RichTextEditOptions)
public bool Equals(RichTextEditOptions other)
Parameters
otherRichTextEditOptions
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RichTextEditOptions, RichTextEditOptions)
public static bool operator ==(RichTextEditOptions left, RichTextEditOptions right)
Parameters
leftRichTextEditOptionsrightRichTextEditOptions
Returns
operator !=(RichTextEditOptions, RichTextEditOptions)
public static bool operator !=(RichTextEditOptions left, RichTextEditOptions right)
Parameters
leftRichTextEditOptionsrightRichTextEditOptions