Class RichTextAdornmentOptions
- Namespace
- RichEdit.Maui
- Assembly
- RichEdit.Maui.dll
Controls the layout and insertion affinity of a source-anchored view.
public sealed record RichTextAdornmentOptions : IEquatable<RichTextAdornmentOptions>
- Inheritance
-
RichTextAdornmentOptions
- Implements
- Inherited Members
Constructors
RichTextAdornmentOptions()
public RichTextAdornmentOptions()
Properties
Affinity
Gets which side of an insertion retains the anchor.
public PositionAffinity Affinity { get; init; }
Property Value
Baseline
Gets the inline baseline measured from the content's top; null aligns its bottom.
public double? Baseline { get; init; }
Property Value
Offset
Gets an overlay or margin displacement in device-independent units.
public Point Offset { get; init; }
Property Value
Placement
Gets where the content participates in layout.
public RichTextAdornmentPlacement Placement { get; init; }
Property Value
Methods
Equals(RichTextAdornmentOptions?)
public bool Equals(RichTextAdornmentOptions? other)
Parameters
otherRichTextAdornmentOptions
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 ==(RichTextAdornmentOptions?, RichTextAdornmentOptions?)
public static bool operator ==(RichTextAdornmentOptions? left, RichTextAdornmentOptions? right)
Parameters
leftRichTextAdornmentOptionsrightRichTextAdornmentOptions
Returns
operator !=(RichTextAdornmentOptions?, RichTextAdornmentOptions?)
public static bool operator !=(RichTextAdornmentOptions? left, RichTextAdornmentOptions? right)
Parameters
leftRichTextAdornmentOptionsrightRichTextAdornmentOptions