Understanding XAML and Adding Elements
Important Points:
-
XAML is a markup language derived from XML, and it stands for eXtensible Application Markup Language. MAUI uses XAML to define the UI Structure and basic configuration of app components; XAML consists of tags. A tag is a keyword enclosed in
<>
symbols:<TagName>
; -
There are two ways of writing XAML tags. If we want to include some other tags or content inside a certain element, we can use the double tag notation
<TagName> content here </TagName>
. On the other hand, if we don't have to include anything between the tags, we can use the shorter syntax:<TagName />
; -
A list of available Types and Classes can be found on the Official Documentation. For this course, it is not necessary to go through the documentation since most of the relevant tags and their properties will be covered as we progress through the chapters.
Tack för dina kommentarer!
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.7
Understanding XAML and Adding Elements
Svep för att visa menyn
Important Points:
-
XAML is a markup language derived from XML, and it stands for eXtensible Application Markup Language. MAUI uses XAML to define the UI Structure and basic configuration of app components; XAML consists of tags. A tag is a keyword enclosed in
<>
symbols:<TagName>
; -
There are two ways of writing XAML tags. If we want to include some other tags or content inside a certain element, we can use the double tag notation
<TagName> content here </TagName>
. On the other hand, if we don't have to include anything between the tags, we can use the shorter syntax:<TagName />
; -
A list of available Types and Classes can be found on the Official Documentation. For this course, it is not necessary to go through the documentation since most of the relevant tags and their properties will be covered as we progress through the chapters.
Tack för dina kommentarer!