Bewerken

Share via


SnapLinePriority Enum

Definition

Specifies the relative importance of a snapline.

public enum class SnapLinePriority
public enum SnapLinePriority
type SnapLinePriority = 
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

See also