VerticalAlignment 枚举

定义

指定固定大小的视觉样式元素的垂直对齐方式。Specifies the vertical alignment for visual style elements with a fixed size.

public enum class VerticalAlignment
public enum VerticalAlignment
type VerticalAlignment = 
Public Enum VerticalAlignment
继承
VerticalAlignment

字段

Bottom 2

该元素与底部对齐。The element is aligned to the bottom.

Center 1

该元素垂直居中。The element is centered vertically.

Top 0

该元素与顶部对齐。The element is aligned to the top.

注解

值表示VisualStyleRenderer.GetEnumValueEnumProperty.VerticalAlignment使用参数值调用方法时该方法的返回值。 VerticalAlignmentThe VerticalAlignment values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.VerticalAlignment.

适用于