SnapLinePriority Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the relative importance of a snapline.
public enum class SnapLinePriority
public enum SnapLinePriority
type SnapLinePriority =
Public Enum SnapLinePriority
- Inheritance
Fields
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. |
High | 3 | The highest priority category. |
Low | 1 | The lowest priority category. |
Medium | 2 | The middle priority category. |
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
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for