Class RichCharacterStyle
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
Typed cascading character properties. Unspecified properties inherit preceding formatting.
public sealed record RichCharacterStyle : IEquatable<RichCharacterStyle>
- Inheritance
-
RichCharacterStyle
- Implements
- Inherited Members
Properties
AllCaps
Whether uppercase presentation is requested.
public StyleValue<bool> AllCaps { get; init; }
Property Value
Background
The highlight color, or null for no highlight.
public StyleValue<RichColor?> Background { get; init; }
Property Value
Bold
Whether bold type is authored.
public StyleValue<bool> Bold { get; init; }
Property Value
CharacterSpacing
Additional character spacing in typographic points.
public StyleValue<RichLength> CharacterSpacing { get; init; }
Property Value
Direction
The authored inline writing direction.
public StyleValue<RichDirection> Direction { get; init; }
Property Value
FontFamily
The authored font family, or null for an unresolved view fallback.
public StyleValue<string?> FontFamily { get; init; }
Property Value
FontSize
The authored font size, or null for an unresolved view fallback.
public StyleValue<RichFontSize?> FontSize { get; init; }
Property Value
Foreground
The foreground color, or null for an unresolved view fallback.
public StyleValue<RichColor?> Foreground { get; init; }
Property Value
Hidden
Whether text is hidden from ordinary presentation.
public StyleValue<bool> Hidden { get; init; }
Property Value
HorizontalScalePercent
Horizontal glyph scaling as a positive integer percentage; 100 is natural width.
public StyleValue<int> HorizontalScalePercent { get; init; }
Property Value
Italic
Whether italic type is authored.
public StyleValue<bool> Italic { get; init; }
Property Value
Language
The language tag, or null for an unspecified language.
public StyleValue<string?> Language { get; init; }
Property Value
Outline
Whether outlined glyphs are requested.
public StyleValue<bool> Outline { get; init; }
Property Value
Script
Superscript or subscript presentation.
public StyleValue<RichScript> Script { get; init; }
Property Value
Shading
Character shading, independently of highlighting; null disables shading.
public StyleValue<RichShading?> Shading { get; init; }
Property Value
Shadow
Whether shadowed glyphs are requested.
public StyleValue<bool> Shadow { get; init; }
Property Value
SmallCaps
Whether small capitals are requested.
public StyleValue<bool> SmallCaps { get; init; }
Property Value
Strike
The authored strike-through style.
public StyleValue<RichStrike> Strike { get; init; }
Property Value
Underline
The authored underline style.
public StyleValue<RichUnderline> Underline { get; init; }
Property Value
UnderlineColor
The underline color, or null to use the text color.
public StyleValue<RichColor?> UnderlineColor { get; init; }
Property Value
VerticalPosition
Normal, script or manual baseline placement. Assigning Script sets this same cascading property.
public StyleValue<RichVerticalPosition> VerticalPosition { get; init; }