Typography.AnnotationAlternates 属性

定义

获取或设置一个值,该值指定备用批注格式的索引。

public:
 property int AnnotationAlternates { int get(); void set(int value); };
public int AnnotationAlternates { get; set; }
member this.AnnotationAlternates : int with get, set
Public Property AnnotationAlternates As Integer

属性值

Int32

备用批注格式的索引。 默认值为 0(零)。

注解

批注形式包括放置在打开或实心圆、方块、圆括号、钻石或圆框中的字形。

如果值 AnnotationAlternates 大于零且所选字体不支持批注替代项,则会显示字母的默认格式。

此属性获取或设置拥有 Typography 属性的对象上的值,这是访问类实例的唯一 Typography 方法。 此外,此属性支持附加属性用法,以便可以在 XAML 中包含文本的对象上设置它。

XAML 属性用法

<object Typography.AnnotationAlternates="int"/>

依赖项属性信息

标识符字段 AnnotationAlternatesProperty
元数据属性设置为 true AffectsMeasureAffectsRenderInherits

适用于