SnapLine Constructor

 
System_CAPS_noteNote

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

Initializes a new instance of the SnapLine class.

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

NameDescription
System_CAPS_pubmethodSnapLine(SnapLineType, Int32)

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

System_CAPS_pubmethodSnapLine(SnapLineType, Int32, SnapLinePriority)

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

System_CAPS_pubmethodSnapLine(SnapLineType, Int32, String)

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

System_CAPS_pubmethodSnapLine(SnapLineType, Int32, String, SnapLinePriority)

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

You should only explicitly create snaplines to replace or supplement the default snapline behavior offered by the visual designer. To create a snapline, you should instance a snapline and then add it to the SnapLines property of the ControlDesigner class.

Return to top
Show: