System.Windows.Forms.Design.Behavior.SnapLine.Offset Property

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

Syntax

public int Offset { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The origin of a control is the upper-left point of the control. A single offset can describe the position of a snapline, because vertical snaplines may have only a nonzero x-axis offset, whereas horizontal snaplines may only have a nonzero y-axis offset.

The SnapLine.Offset property is initialized at construction time, but it can be changed thereafter with the SnapLine.AdjustOffset(int) method.

Requirements

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