FormattedTextFragment
FormattedTextFragment class
为内容中的格式化文本片段提供抽象基类。
public abstract class FormattedTextFragment
特性
| 姓名 | 描述 |
|---|---|
| abstract BackgroundColor { get; } | 获取文本的背景色。 |
| abstract Font { get; } | 获取文本的字体。 |
| abstract ForegroundColor { get; } | 获取文本的前景色。 |
| abstract Text { get; } | 获取片段文本。 |