Export (0) Print
Expand All

SnapLine Constructor (SnapLineType, Int32)

Initializes a new instance of the SnapLine class using the specified snapline type and offset.

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

public SnapLine(
	SnapLineType type,
	int offset
)

Parameters

type
Type: System.Windows.Forms.Design.Behavior.SnapLineType

The SnapLineType to create. Describes the relative position and orientation of the snapline.

offset
Type: System.Int32

The position of the snapline, in pixels, relative to the upper-left origin of the owning control.

This constructor sets the Filter property to null and the Priority property to Low.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft