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
Background
The highlight color, or null for no highlight.
public RichColor? Background { get; init; }
Property Value
Bold
Whether bold type is authored.
public bool Bold { get; init; }
Property Value
CharacterSpacing
Additional character spacing in typographic points.
public RichLength CharacterSpacing { get; init; }
Property Value
Direction
The authored inline writing direction.
public RichDirection Direction { get; init; }
Property Value
FontFamily
The authored font family, or null for an unresolved view fallback.
public string? FontFamily { get; init; }
Property Value
FontSize
The authored font size, or null for an unresolved view fallback.
public RichFontSize? FontSize { get; init; }
Property Value
Foreground
The foreground color, or null for an unresolved view fallback.
public RichColor? Foreground { get; init; }
Property Value
Hidden
Whether text is hidden from ordinary presentation.
public bool Hidden { get; init; }
Property Value
HorizontalScalePercent
Horizontal glyph scaling as a percentage; 100 is natural width.
public int HorizontalScalePercent { get; init; }
Property Value
Italic
Whether italic type is authored.
public bool Italic { get; init; }
Property Value
Language
The language tag, or null for an unspecified language.
public string? Language { get; init; }
Property Value
Outline
Whether outlined glyphs are requested.
public bool Outline { get; init; }
Property Value
Script
Superscript or subscript presentation.
public RichScript Script { get; init; }
Property Value
Shading
Character shading, independently of highlighting; null disables shading.
public RichShading? Shading { get; init; }
Property Value
Shadow
Whether shadowed glyphs are requested.
public bool Shadow { get; init; }
Property Value
SmallCaps
Whether small capitals are requested.
public bool SmallCaps { get; init; }
Property Value
Strike
The authored strike-through style.
public RichStrike Strike { get; init; }
Property Value
Underline
The authored underline style.
public RichUnderline Underline { get; init; }
Property Value
UnderlineColor
The underline color, or null to use the text color.
public RichColor? UnderlineColor { get; init; }
Property Value
VerticalPosition
Normal, script or manual baseline placement.
public RichVerticalPosition VerticalPosition { get; init; }