LayoutCycleTracingLevel Enum

Definition

Defines constants that specify whether layout cycle tracing information is written to the native debugger and the level of detail that is recorded.

public enum class LayoutCycleTracingLevel
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 393216)]
enum class LayoutCycleTracingLevel
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 393216)]
public enum LayoutCycleTracingLevel
Public Enum LayoutCycleTracingLevel
Inheritance
LayoutCycleTracingLevel
Attributes

Fields

High 2

More verbose layout cycle information is provided that includes all Measure and Arrange calls with their availableSize and finalSize values. The output is recorded in stowed exceptions in crash dumps. The same information is also output to the native debugger.

Low 1

Minimal layout cycle information is recorded in stowed exceptions in crash dumps. The same information is also output to the native debugger.

None 0

Minimal layout cycle information is recorded in stowed exceptions in crash dumps. There is no output to the native debugger.

Examples

public App() { this.InitializeComponent();

#if DEBUG DebugSettings.LayoutCycleTracingLevel = LayoutCycleTracingLevel.High; DebugSettings.LayoutCycleDebugBreakLevel = LayoutCycleDebugBreakLevel.Low; #endif }

Remarks

This enumeration provides values for the DebugSettings.LayoutCycleTracingLevel property.

Applies to

See also