System.Windows.Forms.Design.Behavior.SnapLine Members

The members of System.Windows.Forms.Design.Behavior.SnapLine are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Windows.Forms.Design.Behavior.SnapLine class using the specified snapline type and offset.

Initializes a new instance of the System.Windows.Forms.Design.Behavior.SnapLine class using the specified snapline type, offset, and filter name.

Initializes a new instance of the System.Windows.Forms.Design.Behavior.SnapLine class using the specified snapline type, offset, and priority.

Initializes a new instance of the System.Windows.Forms.Design.Behavior.SnapLine class using the specified snapline type, offset, filter name, and priority.

Public Properties

[read-only]
Filterstring.

Gets the programmer-defined filter category associated with this snapline.

[read-only]
IsHorizontalbool.

Gets a value indicating whether the snapline has a horizontal orientation.

[read-only]
IsVerticalbool.

Gets a value indicating whether the snapline has a vertical orientation.

[read-only]
Offsetint.

Gets the number of pixels that the snapline is offset from the origin of the associated control.

[read-only]
PrioritySnapLinePriority.

Gets a value indicating the relative importance of the snapline.

[read-only]
SnapLineTypeSnapLineType.

Gets the type of a snapline, which indicates the general location and orientation.

Public Methods

AdjustOffset(int)

Adjusts the SnapLine.Offset property of the snapline.

static
ShouldSnap(SnapLine, SnapLine) : bool

Returns a value indicating whether the specified System.Windows.Forms.Design.Behavior.SnapLine should snap to another System.Windows.Forms.Design.Behavior.SnapLine.

override
ToString() : string

Returns a string representation of the current snapline.