Enum RichTextFontStyles

RichTextFontStyles enumeration

Options for styling text fragments in RichText.

[Flags]
public enum RichTextFontStyles

Values

NameValueDescription
ClearExisting1If set, clears all existing styles before applying additional ones. When combined with other style flags (e.g., Bold), it first resets the styles, then applies the specified ones. Without this flag, new styles are added to the existing ones.
Bold2Option that specifies bold.
Italic4Option that specifies italic.
Underline8Option that specifies underline.

See Also