The XAML tab changes the focus back to the XAML code editor.The Swap Panes button reverses the location of the XAML Designer and the XAML code editor in the IDE.The Design tab changes the focus from the XAML code editor to the XAML Designer.In the first row at the top of the XAML code window, on the left, there's a Design tab, a Swap Panes button, a XAML tab, and a Pop Out XAML button. Next, let's take a look at the functions of each of the UI elements in the code editor. Here's a look at the XAML code editor window itself. While the code editor window for XAML apps shares some UI (user interface) elements that also appear in our standard IDE, it also includes a few unique features that make developing XAML apps easier. To continue, let's learn more about the XAML code editor. The Properties window, where you change the way your UI looks and how the UI controls work.The Solution Explorer window, where you manage your files, projects, and solutions.(You can also edit your code in real time while you're debugging with XAML Hot Reload.) The Debug button, where you run your code and debug it.The Toolbox dockable window, where you add controls to your UI.The XAML Designer window, where you design your UI.The XAML code editor window-the subject of this article-where you create and edit your code.
The following image shows several of the key IDE tools you'll use along with the XAML code editor.įrom the bottom left of the image going clockwise, the key IDE tools are as follows: To start, let's take a look at the IDE (integrated development environment) with an open WPF project. This article outlines both the role the code editor plays when you develop XAML-based apps, and the features that are unique to the XAML code editor in Visual Studio 2019. The XAML code editor in the Visual Studio IDE includes all the tools you need to create WPF and UWP apps for the Windows platform, and for Xamarin.Forms. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code