Table of Contents

Class RichEditorWidgetOptions

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Rich widget placement in device-independent units. Insertion affinity comes from the rich anchor.

public sealed record RichEditorWidgetOptions : IEquatable<RichEditorWidgetOptions>
Inheritance
RichEditorWidgetOptions
Implements
Inherited Members

Constructors

RichEditorWidgetOptions()

public RichEditorWidgetOptions()

Properties

Baseline

Gets the baseline for inline placement, measured from the widget's top.

public double? Baseline { get; init; }

Property Value

double?

Offset

Gets the offset for overlay or margin placement.

public Point Offset { get; init; }

Property Value

Point

Placement

Gets whether the widget overlays text, reserves a margin, or participates in native text flow.

public RichTextAdornmentPlacement Placement { get; init; }

Property Value

RichTextAdornmentPlacement

Methods

Equals(RichEditorWidgetOptions?)

public bool Equals(RichEditorWidgetOptions? other)

Parameters

other RichEditorWidgetOptions

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

public static bool operator ==(RichEditorWidgetOptions? left, RichEditorWidgetOptions? right)

Parameters

left RichEditorWidgetOptions
right RichEditorWidgetOptions

Returns

bool

operator !=(RichEditorWidgetOptions?, RichEditorWidgetOptions?)

public static bool operator !=(RichEditorWidgetOptions? left, RichEditorWidgetOptions? right)

Parameters

left RichEditorWidgetOptions
right RichEditorWidgetOptions

Returns

bool