Class ResolvedParagraphStyle
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
Resolved paragraph properties after the authored style cascade.
public sealed record ResolvedParagraphStyle : IEquatable<ResolvedParagraphStyle>
- Inheritance
-
ResolvedParagraphStyle
- Implements
- Inherited Members
Properties
Alignment
Paragraph alignment.
public RichAlignment Alignment { get; init; }
Property Value
Background
The paragraph background, or null for no fill.
public RichColor? Background { get; init; }
Property Value
Border
A uniform paragraph border, or null for none.
public RichBorder? Border { get; init; }
Property Value
Direction
Paragraph writing direction.
public RichDirection Direction { get; init; }
Property Value
FirstLineIndent
The first-line indent relative to the leading indent.
public RichLength FirstLineIndent { get; init; }
Property Value
HeadingLevel
The semantic heading level, from one through nine, or null for body text.
public int? HeadingLevel { get; init; }
Property Value
- int?
Hyphenation
Whether paragraph hyphenation is requested.
public bool Hyphenation { get; init; }
Property Value
KeepTogether
Whether paragraph layout should keep its lines together.
public bool KeepTogether { get; init; }
Property Value
KeepWithNext
Whether paragraph layout should keep this paragraph with its successor.
public bool KeepWithNext { get; init; }
Property Value
LeadingIndent
The leading indent.
public RichLength LeadingIndent { get; init; }
Property Value
LineSpacing
Automatic, fixed, minimum or multiple line height.
public RichLineSpacing LineSpacing { get; init; }
Property Value
Shading
Paragraph shading; null uses the solid background alone.
public RichShading? Shading { get; init; }
Property Value
SpaceAfter
Space after the paragraph.
public RichLength SpaceAfter { get; init; }
Property Value
SpaceBefore
Space before the paragraph.
public RichLength SpaceBefore { get; init; }
Property Value
TabStops
Explicit tab stops, ordered by position.
public RichTabStops TabStops { get; init; }
Property Value
TrailingIndent
The trailing indent.
public RichLength TrailingIndent { get; init; }
Property Value
WidowControl
Whether paragraph layout avoids isolated first and last lines.
public bool WidowControl { get; init; }