Summary
When you create a new XAML-based project in Visual Studio, even a “blank” one, the plumbing that connects your XAML content with your procedural code is already in place. This can make the interaction between your XAML and code seem a bit magical. This chapter explained what is actually going on when you compile your project, and showed ways you can exploit XAML content for your own custom runtime scenarios.
Visual Studio handles additional infrastructure that loads your XAML content in the context of your app. The details of this infrastructure vary based on the type of project you are working with. In a WPF app, this typically means creating and showing a Window that directly houses your XAML content. In other types of apps, your XAML ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access