Turn On / Off  – “In-App XAML Inspection Toolbar” from Visual Studio 2015

Turn On / Off – “In-App XAML Inspection Toolbar” from Visual Studio 2015

Using the In-App XAML Inspection toolbar we can directly access the Live Visual Tree and Live Property Explorer from the running application. Live Visual Tree shows the hierarchy of all UI elements in the app that we are debugging and the Live Property Explorer shows properties of UI elements at runtime. Combination of these two tool allow you to take a deep into your xaml code and review the necessary change at runtime. This really helps developer to find and fix many UI related changes, also to dealing with different styles. This quick tip talks about how we can turn on/off the In-App XAML Ispection toolbar.

Following two posts talks about some of the details functionalities of this In-App XAML Inspection ToolBar

By default this runtime tool is turned on, and in case you want to turned it off, you can do it from the Live Visual Tree Toolbar.

Show Runtime Tools in Application
Show Runtime Tools in Application

When this is ON, you should be able to see the inspection tools appears inside the App ( Refer to the following images from a running app)

In-App XAML Inspection Runtime Tools in Application
In-App XAML Inspection Runtime Tools in Application

 

Turned the button off  inside “Live Visual Tree” tools ,  if you don’t want to see the In – App XAML Inspection toolbar.

Turned Off - XAML Inspection Runtime Tools in Application
Turned Off – XAML Inspection Runtime Tools in Application

Keep in mind, disabling this toolbar from the app won’t disable the functionalities of Live Visual Tree or Live Property Explorer.   This will just turned off the In-App toolbar, rest functiality will work as it is, where you need to select option from Live Visual Tree .

Read This Post for more details : Working with Live XAML in Windows Universal Apps and Visual Studio 2015

Live XAML in Windows Universal Apps and Visual Studio 2015 without In-App toolbar
Live XAML in Windows Universal Apps and Visual Studio 2015 without In-App toolbar

Hope this helps !

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “Turn On / Off – “In-App XAML Inspection Toolbar” from Visual Studio 2015”

Comments are closed.