Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Understanding XAML and Adding Elements | Introduction to Desktop Development with .NET
Advanced C# with .NET
course content

Conteúdo do Curso

Advanced C# with .NET

Advanced C# with .NET

1. Introduction to Desktop Development with .NET
2. Interactive GUI
3. Threading
4. Generics & Reflection

book
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.

Which of the following are the correct ways of defining the Button element?

Which of the following are the correct ways of defining the Button element?

Selecione algumas respostas corretas

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 4
We're sorry to hear that something went wrong. What happened?
some-alt