Basic XAML Syntax
Learn about the basics of XAML syntax.
We'll cover the following...
XAML is the dialect of XML that .NET MAUI uses as the markup language to define user interfaces. It adheres to a specific MAUI schema. This schema defines which elements can be used inside the markup. A noteworthy feature of MAUI-specific XAML schema is that almost all elements represent classes. For example, the <ContentPage />
element corresponds to the ContentPage
class. The <App />
element corresponds to the App
class. And it's true for almost all other elements.
While XAML elements primarily represent classes, their attributes usually represent ...