Table of Contents

Class RichTextSelectionCharacterFormat

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Exposes bindable authored and effective character formatting for a selection.

public sealed class RichTextSelectionCharacterFormat : BindableObject, INotifyPropertyChanged
Inheritance
RichTextSelectionCharacterFormat
Implements
Inherited Members

Properties

AllCaps

Gets or sets whether all-cap glyphs are requested.

public bool AllCaps { get; set; }

Property Value

bool

BackgroundColor

Gets or sets the solid text background color.

public Color? BackgroundColor { get; set; }

Property Value

Color

BaselineOffset

Gets or sets baseline offset in points.

public double BaselineOffset { get; set; }

Property Value

double

Bold

Gets or sets whether text is bold.

public bool Bold { get; set; }

Property Value

bool

CharacterSpacing

Gets or sets character spacing in points.

public double CharacterSpacing { get; set; }

Property Value

double

Direction

Gets or sets explicit character direction.

public RichTextDirection Direction { get; set; }

Property Value

RichTextDirection

EffectiveFontFamily

Gets the resolved font-family fallback.

public string? EffectiveFontFamily { get; }

Property Value

string

EffectiveFontSize

Gets the resolved font size in points.

public double? EffectiveFontSize { get; }

Property Value

double?

EffectiveForegroundColor

Gets the resolved foreground-color fallback.

public Color? EffectiveForegroundColor { get; }

Property Value

Color

FontFamily

Gets or sets the authored font family.

public string? FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the authored font size in points.

public double? FontSize { get; set; }

Property Value

double?

FontWeight

Gets or sets the numeric font weight.

public int FontWeight { get; set; }

Property Value

int

ForegroundColor

Gets or sets the authored foreground color.

public Color? ForegroundColor { get; set; }

Property Value

Color

Hidden

Gets or sets whether text is hidden.

public bool Hidden { get; set; }

Property Value

bool

HorizontalScale

Gets or sets horizontal glyph scale.

public double HorizontalScale { get; set; }

Property Value

double

IsAllCapsMixed

Gets whether selected all-cap states differ.

public bool IsAllCapsMixed { get; }

Property Value

bool

IsBackgroundColorMixed

Gets whether selected text background colors differ.

public bool IsBackgroundColorMixed { get; }

Property Value

bool

IsBaselineOffsetMixed

Gets whether selected baseline offsets differ.

public bool IsBaselineOffsetMixed { get; }

Property Value

bool

IsBoldMixed

Gets whether selected bold states differ.

public bool IsBoldMixed { get; }

Property Value

bool

IsCharacterSpacingMixed

Gets whether selected character-spacing values differ.

public bool IsCharacterSpacingMixed { get; }

Property Value

bool

IsDirectionMixed

Gets whether selected character directions differ.

public bool IsDirectionMixed { get; }

Property Value

bool

IsEffectiveFontFamilyMixed

Gets whether resolved selected font families differ.

public bool IsEffectiveFontFamilyMixed { get; }

Property Value

bool

IsEffectiveFontSizeMixed

Gets whether resolved selected font sizes differ.

public bool IsEffectiveFontSizeMixed { get; }

Property Value

bool

IsEffectiveForegroundColorMixed

Gets whether resolved selected foreground colors differ.

public bool IsEffectiveForegroundColorMixed { get; }

Property Value

bool

IsFontFamilyInherited

Gets whether all selected font families are inherited.

public bool IsFontFamilyInherited { get; }

Property Value

bool

IsFontFamilyMixed

Gets whether selected authored font families differ.

public bool IsFontFamilyMixed { get; }

Property Value

bool

IsFontSizeInherited

Gets whether all selected font sizes are inherited.

public bool IsFontSizeInherited { get; }

Property Value

bool

IsFontSizeMixed

Gets whether selected authored font sizes differ.

public bool IsFontSizeMixed { get; }

Property Value

bool

IsFontWeightMixed

Gets whether selected font weights differ.

public bool IsFontWeightMixed { get; }

Property Value

bool

IsForegroundColorInherited

Gets whether all selected foreground colors are inherited.

public bool IsForegroundColorInherited { get; }

Property Value

bool

IsForegroundColorMixed

Gets whether selected authored foreground colors differ.

public bool IsForegroundColorMixed { get; }

Property Value

bool

IsHiddenMixed

Gets whether selected hidden states differ.

public bool IsHiddenMixed { get; }

Property Value

bool

IsHorizontalScaleMixed

Gets whether selected horizontal scales differ.

public bool IsHorizontalScaleMixed { get; }

Property Value

bool

IsItalicMixed

Gets whether selected italic states differ.

public bool IsItalicMixed { get; }

Property Value

bool

IsKerningMixed

Gets whether selected kerning preferences differ.

public bool IsKerningMixed { get; }

Property Value

bool

IsLanguageTagMixed

Gets whether selected language tags differ.

public bool IsLanguageTagMixed { get; }

Property Value

bool

IsLigaturesMixed

Gets whether selected ligature preferences differ.

public bool IsLigaturesMixed { get; }

Property Value

bool

IsOutlineMixed

Gets whether selected outline states differ.

public bool IsOutlineMixed { get; }

Property Value

bool

IsScriptMixed

Gets whether selected script states differ.

public bool IsScriptMixed { get; }

Property Value

bool

IsShadingBackgroundColorMixed

Gets whether selected shading background colors differ.

public bool IsShadingBackgroundColorMixed { get; }

Property Value

bool

IsShadingForegroundColorMixed

Gets whether selected shading foreground colors differ.

public bool IsShadingForegroundColorMixed { get; }

Property Value

bool

IsShadingMixed

Gets whether selected character-shading amounts differ.

public bool IsShadingMixed { get; }

Property Value

bool

IsShadowMixed

Gets whether selected shadow states differ.

public bool IsShadowMixed { get; }

Property Value

bool

IsSmallCapsMixed

Gets whether selected small-cap states differ.

public bool IsSmallCapsMixed { get; }

Property Value

bool

IsStrikethroughColorMixed

Gets whether selected strikethrough colors differ.

public bool IsStrikethroughColorMixed { get; }

Property Value

bool

IsStrikethroughMixed

Gets whether selected strikethrough styles differ.

public bool IsStrikethroughMixed { get; }

Property Value

bool

IsStyleNameMixed

Gets whether selected character style names differ.

public bool IsStyleNameMixed { get; }

Property Value

bool

IsUnderlineColorMixed

Gets whether selected underline colors differ.

public bool IsUnderlineColorMixed { get; }

Property Value

bool

IsUnderlineMixed

Gets whether selected underline styles differ.

public bool IsUnderlineMixed { get; }

Property Value

bool

Italic

Gets or sets whether text is italic.

public bool Italic { get; set; }

Property Value

bool

Kerning

Gets or sets the kerning preference.

public RichTextFeatureMode Kerning { get; set; }

Property Value

RichTextFeatureMode

LanguageTag

Gets or sets the BCP 47 language tag.

public string? LanguageTag { get; set; }

Property Value

string

Ligatures

Gets or sets the ligature preference.

public RichTextFeatureMode Ligatures { get; set; }

Property Value

RichTextFeatureMode

Outline

Gets or sets the outline text effect.

public bool Outline { get; set; }

Property Value

bool

Script

Gets or sets superscript or subscript state.

public RichTextScript Script { get; set; }

Property Value

RichTextScript

Shading

Gets or sets the RTF character-shading amount.

public int Shading { get; set; }

Property Value

int

ShadingBackgroundColor

Gets or sets the character-shading background color.

public Color? ShadingBackgroundColor { get; set; }

Property Value

Color

ShadingForegroundColor

Gets or sets the character-shading foreground color.

public Color? ShadingForegroundColor { get; set; }

Property Value

Color

Shadow

Gets or sets the shadow text effect.

public bool Shadow { get; set; }

Property Value

bool

SmallCaps

Gets or sets whether small-cap glyphs are requested.

public bool SmallCaps { get; set; }

Property Value

bool

Strikethrough

Gets or sets the strikethrough style.

public RichTextStrikethroughStyle Strikethrough { get; set; }

Property Value

RichTextStrikethroughStyle

StrikethroughColor

Gets or sets the strikethrough color.

public Color? StrikethroughColor { get; set; }

Property Value

Color

StyleName

Gets or sets the named character style.

public string? StyleName { get; set; }

Property Value

string

Underline

Gets or sets the underline style.

public RichTextUnderlineStyle Underline { get; set; }

Property Value

RichTextUnderlineStyle

UnderlineColor

Gets or sets the underline color.

public Color? UnderlineColor { get; set; }

Property Value

Color