Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.22 KB

debugsettings_isbindingtracingenabled.md

File metadata and controls

30 lines (18 loc) · 1.22 KB
-api-id -api-type
P:Microsoft.UI.Xaml.DebugSettings.IsBindingTracingEnabled
winrt property

Microsoft.UI.Xaml.DebugSettings.IsBindingTracingEnabled

-description

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.

-property-value

true to engage the binding tracing feature of Microsoft Visual Studio; otherwise, false. The default is true.

-remarks

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.

-examples

-see-also

BindingFailed, Data binding in depth