This documentation is archived and is not being maintained.

SnapLine.Priority Property

Note: This property is new in the .NET Framework version 2.0.

Gets a value indicating the relative importance of the snapline.

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

public SnapLinePriority Priority { get; }
/** @property */
public SnapLinePriority get_Priority ()

public function get Priority () : 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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0