SnapLine.Priority Property


Gets a value indicating the relative importance of the snapline.

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

public SnapLinePriority Priority { get; }

Property Value

Type: System.Windows.Forms.Design.Behavior.SnapLinePriority

A SnapLinePriority that represents the priority category of a snapline.

The Priority property establishes categories of importance for the snaplines associated with a control.

The Windows Forms Designer uses this property to determine which snaplines to display during a control addition, resize, or move operation. For more information, see the SnapLinePriority enumeration.

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

.NET Framework
Available since 2.0
Return to top