TextAlignment 枚举

定义

枚举多个类型返回的值。

public enum TextAlignment
type TextAlignment = 
继承
TextAlignment

字段

名称 说明
Inherit 0
Gravity 1

根视图的默认值。

TextStart 2

与段落开头对齐,例如

TextEnd 3

与段落末尾对齐,例如

Center 4

将段落居中,例如

ViewStart 5
ViewEnd 6
ResolvedDefault 131072

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于