SnapLine Constructor (SnapLineType, Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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


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

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

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
Available since 2.0
Return to top