LayoutCycleTracingLevel 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.
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
Name | Value | Description |
---|---|---|
None | 0 | Minimal layout cycle information is recorded in stowed exceptions in crash dumps. There is no 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. |
High | 2 | More verbose layout cycle information is provided that includes all |
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.