Table of Contents

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

StyleValue<RichAlignment>

Background

The paragraph background, or null for no fill.

public StyleValue<RichColor?> Background { get; init; }

Property Value

StyleValue<RichColor?>

Border

A uniform paragraph border, or null for none.

public StyleValue<RichBorder?> Border { get; init; }

Property Value

StyleValue<RichBorder>

Direction

Paragraph writing direction.

public StyleValue<RichDirection> Direction { get; init; }

Property Value

StyleValue<RichDirection>

FirstLineIndent

The first-line indent relative to the leading indent.

public StyleValue<RichLength> FirstLineIndent { get; init; }

Property Value

StyleValue<RichLength>

HeadingLevel

The semantic heading level, from one through nine, or null for body text.

public StyleValue<int?> HeadingLevel { get; init; }

Property Value

StyleValue<int?>

Hyphenation

Whether paragraph hyphenation is requested.

public StyleValue<bool> Hyphenation { get; init; }

Property Value

StyleValue<bool>

KeepTogether

Whether paragraph layout should keep its lines together.

public StyleValue<bool> KeepTogether { get; init; }

Property Value

StyleValue<bool>

KeepWithNext

Whether paragraph layout should keep this paragraph with its successor.

public StyleValue<bool> KeepWithNext { get; init; }

Property Value

StyleValue<bool>

LeadingIndent

The leading indent.

public StyleValue<RichLength> LeadingIndent { get; init; }

Property Value

StyleValue<RichLength>

LineSpacing

Automatic, fixed, minimum or multiple line height.

public StyleValue<RichLineSpacing> LineSpacing { get; init; }

Property Value

StyleValue<RichLineSpacing>

Shading

Paragraph shading; null uses the solid background alone.

public StyleValue<RichShading?> Shading { get; init; }

Property Value

StyleValue<RichShading?>

SpaceAfter

Space after the paragraph.

public StyleValue<RichLength> SpaceAfter { get; init; }

Property Value

StyleValue<RichLength>

SpaceBefore

Space before the paragraph.

public StyleValue<RichLength> SpaceBefore { get; init; }

Property Value

StyleValue<RichLength>

TabStops

Explicit tab stops, ordered by position.

public StyleValue<RichTabStops> TabStops { get; init; }

Property Value

StyleValue<RichTabStops>

TrailingIndent

The trailing indent.

public StyleValue<RichLength> TrailingIndent { get; init; }

Property Value

StyleValue<RichLength>

WidowControl

Whether paragraph layout avoids isolated first and last lines.

public StyleValue<bool> WidowControl { get; init; }

Property Value

StyleValue<bool>