SnapLinePriority Enum

Definition

Specifies the relative importance of a snapline.

public enum SnapLinePriority
Inheritance
SnapLinePriority

Fields

Name Value Description
Low 1

The lowest priority category.

Medium 2

The middle priority category.

High 3

The highest priority category.

Always 4

The priority category that is equivalent to the highest priority of all the current snaplines. Indicates that this category of snapline should always be active.

Remarks

A snapline's priority acts as a suggestion to visual designers about how to treat a snapline with respect to its peers. The layout engine uses a simple method of determining whether to display the snaplines for a control: only the highest priority snaplines, including those with a value of Always, are shown for each orientation - vertical or horizontal.

To set the priority of a snapline, a SnapLinePriority enumeration is specified when creating an instance of the SnapLine class.

Applies to

Prodotto Versioni
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also