SnapLineType Enumeration

SnapLineType Enumeration

 

Specifies the orientation and relative location of a snapline.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public enum SnapLineType

Member nameDescription
Baseline

A horizontal snapline typically associated with a primary internal feature of a control; for example, the base of the text string in a System.Windows.Forms.Label control.

Bottom

A horizontal snapline typically aligned to the bottom edge of a control.

Horizontal

A horizontal snapline typically not associated with an edge of a control.

Left

A vertical snapline typically aligned to the left edge of a control.

Right

A vertical snapline typically aligned to the right edge of a control.

Top

A horizontal snapline typically aligned to the top edge of a control.

Vertical

A vertical snapline typically not associated with an edge of a control.

The SnapLineType enumeration can be specified when creating an instance of the SnapLine class.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft