-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.DebugSettings.IsBindingTracingEnabled |
winrt property |
Gets or sets a value that indicates whether to engage the binding tracing feature of Microsoft Visual Studio when the app runs. When engaged and a binding error occurs, the BindingFailed
event is raised and error information is logged in the native debug output.
true
to engage the binding tracing feature of Microsoft Visual Studio; otherwise, false
. The default is true
.
This property is true
by default, but for binding tracing to work, you must also select Mixed debugger type in Microsoft Visual Studio on the Debug page of the project designer.
When binding tracing is enabled and you run your app with the debugger attached,any binding errors appear in the Output window in Microsoft Visual Studio and cause a BindingFailed event to be raised.