Enabling the UI debugging tool for XAML
To begin debugging your XAML application UI, you will first need to enable a few settings in Visual Studio. If the settings are disabled, you won't be able to view the Live Visual Tree and the Live Properties window, which we will be discussing in the next few recipes.
These settings are by default enabled in Visual Studio 2017, but in case are disabled; this recipe will help you to get started with that.
Getting ready
Make sure that you have Visual Studio 2017. Open it to get started with the settings changes.
How to do it...
Follow the steps mentioned here to verify and enable the UI Debugging Tools for XAML in Visual Studio 2017:
- Inside the Visual Studio IDE, navigate to the
Tools
|Options...
menu, as shown in the following screenshot:

- This will open the Visual Studio
Options
window. From this page, navigate to theDebugging
|General
section.
- Select the checkbox labeled
Enable UI Debugging Tools for XAML
, and switch it ON if it is not already:

- Once you...