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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應