SnapLineType 枚举

定义

指定对齐线的方向和相对位置。Specifies the orientation and relative location of a snapline.

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

字段

Baseline 6

通常与控件的主要内部功能关联的水平对齐线;例如,Label 控件中的文本字符串的基线。A horizontal snapline typically associated with a primary internal feature of a control; for example, the base of the text string in a Label control.

Bottom 1

通常与控件的下边缘对齐的水平对齐线。A horizontal snapline typically aligned to the bottom edge of a control.

Horizontal 4

通常不与控件的边缘关联的水平对齐线。A horizontal snapline typically not associated with an edge of a control.

Left 2

通常与控件的左边缘对齐的垂直对齐线。A vertical snapline typically aligned to the left edge of a control.

Right 3

通常与控件的右边缘对齐的垂直对齐线。A vertical snapline typically aligned to the right edge of a control.

Top 0

通常与控件的上边缘对齐的水平对齐线。A horizontal snapline typically aligned to the top edge of a control.

Vertical 5

通常不与控件的边缘关联的垂直对齐线。A vertical snapline typically not associated with an edge of a control.

注解

创建类的实例SnapLine时可以指定枚举。SnapLineTypeThe SnapLineType enumeration can be specified when creating an instance of the SnapLine class.

适用于

另请参阅