SnapLine.SnapLineType SnapLine.SnapLineType SnapLine.SnapLineType SnapLine.SnapLineType Property

Definition

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

public:
 property System::Windows::Forms::Design::Behavior::SnapLineType SnapLineType { System::Windows::Forms::Design::Behavior::SnapLineType get(); };
public System.Windows.Forms.Design.Behavior.SnapLineType SnapLineType { get; }
member this.SnapLineType : System.Windows.Forms.Design.Behavior.SnapLineType
Public ReadOnly Property SnapLineType As SnapLineType

Property Value

A SnapLineType that represents the orientation and general location, relative to control edges, of a snapline.

Remarks

Visual designers use the SnapLineType property to direct snap alignment operations. Typically only snaplines that are similarly oriented can snap to each other. For example, two snaplines of type Horizontal can snap together, but a Horizontal and a Vertical snapline cannot.

This property is initialized during construction and cannot be changed thereafter.

Applies to

See also