Table of Contents

Class ResolvedCharacterStyle

Namespace
RichEdit.Core
Assembly
RichEdit.Core.dll

Resolved character properties after the authored style cascade.

public sealed record ResolvedCharacterStyle : IEquatable<ResolvedCharacterStyle>
Inheritance
ResolvedCharacterStyle
Implements
Inherited Members

Properties

AllCaps

Whether uppercase presentation is requested.

public bool AllCaps { get; init; }

Property Value

bool

Background

The highlight color, or null for no highlight.

public RichColor? Background { get; init; }

Property Value

RichColor?

Bold

Whether bold type is authored.

public bool Bold { get; init; }

Property Value

bool

CharacterSpacing

Additional character spacing in typographic points.

public RichLength CharacterSpacing { get; init; }

Property Value

RichLength

Direction

The authored inline writing direction.

public RichDirection Direction { get; init; }

Property Value

RichDirection

FontFamily

The authored font family, or null for an unresolved view fallback.

public string? FontFamily { get; init; }

Property Value

string

FontSize

The authored font size, or null for an unresolved view fallback.

public RichFontSize? FontSize { get; init; }

Property Value

RichFontSize?

Foreground

The foreground color, or null for an unresolved view fallback.

public RichColor? Foreground { get; init; }

Property Value

RichColor?

Hidden

Whether text is hidden from ordinary presentation.

public bool Hidden { get; init; }

Property Value

bool

HorizontalScalePercent

Horizontal glyph scaling as a percentage; 100 is natural width.

public int HorizontalScalePercent { get; init; }

Property Value

int

Italic

Whether italic type is authored.

public bool Italic { get; init; }

Property Value

bool

Language

The language tag, or null for an unspecified language.

public string? Language { get; init; }

Property Value

string

Outline

Whether outlined glyphs are requested.

public bool Outline { get; init; }

Property Value

bool

Script

Superscript or subscript presentation.

public RichScript Script { get; init; }

Property Value

RichScript

Shading

Character shading, independently of highlighting; null disables shading.

public RichShading? Shading { get; init; }

Property Value

RichShading?

Shadow

Whether shadowed glyphs are requested.

public bool Shadow { get; init; }

Property Value

bool

SmallCaps

Whether small capitals are requested.

public bool SmallCaps { get; init; }

Property Value

bool

Strike

The authored strike-through style.

public RichStrike Strike { get; init; }

Property Value

RichStrike

Underline

The authored underline style.

public RichUnderline Underline { get; init; }

Property Value

RichUnderline

UnderlineColor

The underline color, or null to use the text color.

public RichColor? UnderlineColor { get; init; }

Property Value

RichColor?

VerticalPosition

Normal, script or manual baseline placement.

public RichVerticalPosition VerticalPosition { get; init; }

Property Value

RichVerticalPosition