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