LayoutCycleDebugBreakLevel 列舉

定義

定義常數,指定當配置週期損毀即將出現時,配置周期追蹤事件應該觸發調試程序斷點的層級。

public enum class LayoutCycleDebugBreakLevel
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 393216)]
enum class LayoutCycleDebugBreakLevel
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 393216)]
public enum LayoutCycleDebugBreakLevel
Public Enum LayoutCycleDebugBreakLevel
繼承
LayoutCycleDebugBreakLevel
屬性

欄位

High 2

調試程式斷點會在事件超過 Low 設定時觸發,包括所有 MeasureArrange 呼叫。

Low 1

調試程式斷點只會在最低層級觸發。

None 0

永遠不會觸發調試程序斷點。

備註

此列舉提供 DebugSettings.LayoutCycleDebugBreakLevel 屬性的值。

這些層級符合 LayoutCycleTracingLevel 中的層級。 如果也啟用配置循環追蹤,調試程式斷點會在追蹤訊息輸出之後觸發。

適用於

另請參閱