VerticalAlign 枚举

定义

指定控件中对象或文本的垂直对齐方式。Specifies the vertical alignment of an object or text in a control.

public enum class VerticalAlign
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.VerticalAlignConverter))]
public enum VerticalAlign
type VerticalAlign = 
Public Enum VerticalAlign
继承
VerticalAlign
属性

字段

Bottom 3

文本或对象与该封闭控件的底部对齐。Text or object is aligned with the bottom of the enclosing control.

Middle 2

文本或对象与该封闭控件居中对齐。Text or object is aligned with the center of the enclosing control.

NotSet 0

未设置垂直对齐方式。Vertical alignment is not set.

Top 1

文本或对象与该封闭控件的顶部对齐。Text or object is aligned with the top of the enclosing control.

注解

VerticalAlign枚举表示控件中的对象或文本的不同垂直对齐选项。The VerticalAlign enumeration represents the different vertical alignment options for an object or text in a control.

适用于

另请参阅