Share via


LayoutCycleDebugBreakLevel Enum

Definition

Defines constants that specify which level of layout cycle tracing events should trigger a debugger breakpoint when a layout cycle crash appears imminent.

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
Inheritance
LayoutCycleDebugBreakLevel
Attributes

Fields

Name Value Description
None 0

A debugger breakpoint is never triggered.

Low 1

A debugger breakpoint is triggered only at the minimal level.

High 2

A debugger breakpoint is triggered on more events than the Low setting, including all Measure and Arrange calls.

Remarks

This enumeration provides values for the DebugSettings.LayoutCycleDebugBreakLevel property.

These levels match the levels in LayoutCycleTracingLevel. If layout cycle tracing is also enabled, the debugger breakpoint is triggered after the trace message is output.

Applies to

See also