XAML files are XML text file so any text editor tool will be adequate for editing and viewing the content. For a more fulfilling editing experience, use the XAML editors in Visual Studio. This tutorial looks at the auto complete features that simplify XAML editing.
- [Narrator] XAML files are XML text files,…so any text editor will be adequate…for editing and viewing the content.…For a more fulfilling editing experience,…use the XAML editors in Visual Studio.…This is a WPF project.…I have a MainWindow.xaml file here.…I'll double click on it to open the designer.…I don't want to see the designer part of the screen.…All I want to do is work with the text part of this editor.…What I'll do is I'll swap the panes…and put the text on the top,…and then click this Collapse button,…which will collapse the bottom half of the screen.…
Now I'm looking at just the text editor.…Visual Studio has a number of tools…that enhance my typing ability…and make it easier to decide what to enter in my XAML.…Here's some examples.…In between the beginning and ending Grid tags,…I'll type in the open angle bracket, or the less than sign.…Visual Studio shows an auto completion list.…This list contains elements and other XML…that Visual Studio thinks are appropriate…for this point in my text file.…At the top of the list, you can see a Comment symbol there.…
- What is XAML?
- What frameworks use XAML?
- Working with XAML and Visual Studio
- Exploring XAML namespaces
- Instantiating objects
- Subscribing to events
- Using XAML in Windows Presentation Foundations, Universal Windows, and more