Class RichTextParagraphFormat
- Namespace
- RichEdit.Maui
- Assembly
- RichEdit.Maui.dll
Defines immutable paragraph formatting.
public sealed record RichTextParagraphFormat : IEquatable<RichTextParagraphFormat>
- Inheritance
-
RichTextParagraphFormat
- Implements
- Inherited Members
Constructors
RichTextParagraphFormat()
public RichTextParagraphFormat()
Properties
Alignment
Gets paragraph alignment.
public RichTextAlignment Alignment { get; init; }
Property Value
BackgroundColor
Gets the solid paragraph background color.
public Color? BackgroundColor { get; init; }
Property Value
Border
Gets paragraph border formatting.
public RichTextBorder? Border { get; init; }
Property Value
Default
Gets the neutral default paragraph format.
public static RichTextParagraphFormat Default { get; }
Property Value
Direction
Gets paragraph direction.
public RichTextDirection Direction { get; init; }
Property Value
FirstLineIndent
Gets first-line or hanging indent in points.
public double FirstLineIndent { get; init; }
Property Value
Hyphenation
Gets whether hyphenation is requested.
public bool Hyphenation { get; init; }
Property Value
LeadingIndent
Gets leading indent in points.
public double LeadingIndent { get; init; }
Property Value
LineSpacing
Gets the line-spacing rule value.
public double LineSpacing { get; init; }
Property Value
LineSpacingRule
Gets the line-spacing rule.
public RichTextLineSpacingRule LineSpacingRule { get; init; }
Property Value
List
Gets document-list item state, or null for an ordinary paragraph.
public RichTextListItemFormat? List { get; init; }
Property Value
MaximumLineHeight
Gets an optional maximum line height in points.
public double? MaximumLineHeight { get; init; }
Property Value
MinimumLineHeight
Gets an optional minimum line height in points.
public double? MinimumLineHeight { get; init; }
Property Value
Shading
Gets the RTF paragraph-shading amount from 0 through 10000.
public int Shading { get; init; }
Property Value
ShadingBackgroundColor
Gets the RTF paragraph-shading background color.
public Color? ShadingBackgroundColor { get; init; }
Property Value
ShadingForegroundColor
Gets the RTF paragraph-shading foreground color.
public Color? ShadingForegroundColor { get; init; }
Property Value
SpaceAfter
Gets space after the paragraph in points.
public double SpaceAfter { get; init; }
Property Value
SpaceBefore
Gets space before the paragraph in points.
public double SpaceBefore { get; init; }
Property Value
StyleName
Gets the named paragraph style, or null when unspecified.
public string? StyleName { get; init; }
Property Value
TabStops
Gets ordered paragraph tab stops.
public ImmutableArray<RichTextTabStop> TabStops { get; init; }
Property Value
TrailingIndent
Gets trailing indent in points.
public double TrailingIndent { get; init; }
Property Value
Methods
Equals(RichTextParagraphFormat?)
public bool Equals(RichTextParagraphFormat? other)
Parameters
otherRichTextParagraphFormat
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 ==(RichTextParagraphFormat?, RichTextParagraphFormat?)
public static bool operator ==(RichTextParagraphFormat? left, RichTextParagraphFormat? right)
Parameters
leftRichTextParagraphFormatrightRichTextParagraphFormat
Returns
operator !=(RichTextParagraphFormat?, RichTextParagraphFormat?)
public static bool operator !=(RichTextParagraphFormat? left, RichTextParagraphFormat? right)
Parameters
leftRichTextParagraphFormatrightRichTextParagraphFormat