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
course content

Зміст курсу

Advanced C# with .NET

Understanding XAML and Adding ElementsUnderstanding 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.

question-icon

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

Виберіть кілька правильних відповідей

Все було зрозуміло?

Секція 1. Розділ 4
course content

Зміст курсу

Advanced C# with .NET

Understanding XAML and Adding ElementsUnderstanding 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.

question-icon

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

Виберіть кілька правильних відповідей

Все було зрозуміло?

Секція 1. Розділ 4
some-alt