SnapLine Constructor (SnapLineType, Int32, String)

 

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

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

public SnapLine(
	SnapLineType type,
	int offset,
	string filter
)

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.

filter
Type: System.String

A String used to specify a programmer-defined category of snaplines.

This constructor sets the Priority property to Low.

.NET Framework
Available since 2.0
Return to top
Show: