共用方式為


ClassifiedTextRunStyle Enum

Definition

The text style for a ClassifiedTextRun.

This enumeration supports a bitwise combination of its member values.

public enum class ClassifiedTextRunStyle
[System.Flags]
public enum ClassifiedTextRunStyle
[<System.Flags>]
type ClassifiedTextRunStyle = 
Public Enum ClassifiedTextRunStyle
Inheritance
ClassifiedTextRunStyle
Attributes

Fields

Name Value Description
Plain 0

Plain text.

Bold 1

Bolded text.

Italic 2

Italic text.

Underline 4

Underlined text.

UseClassificationFont 8

Use the font specified by the classification.

UseClassificationStyle 16

Use the style specified by the classification.

Remarks

By default, text is displayed using tooltip preferences, but colorized using text editor colors in order to make tooltips that look visually like UI, but match the semantic colorization of the code.

Applies to