SnapLine.Priority Property


Gets a value indicating the relative importance of the snapline.

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

Property Value


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.

Applies to

See also