Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Task - Adding Elements in a MAUI Application | Introduction to Desktop Development with .NET
course content

Зміст курсу

Advanced C# with .NET

Task - Adding Elements in a MAUI ApplicationTask - Adding Elements in a MAUI Application

You have the base application given on the Github Repository.

Clone the program to your local machine, and add a new Button element to the application, and set its properties to the following values:

  • x:Name: CloseBtn
  • Text: Close
  • HorizontalOptions: Fill

You only have to edit the XAML file.

Check: If the program runs successfully without throwing any exceptions then your task is correct.

A new button element can be created by using the <Button property1="value1" property2="value2" … /> syntax.

    <Button 
    x:Name="CloseBtn"
    Text="Close"
    HorizontalOptions="Fill" />
  

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

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

Зміст курсу

Advanced C# with .NET

Task - Adding Elements in a MAUI ApplicationTask - Adding Elements in a MAUI Application

You have the base application given on the Github Repository.

Clone the program to your local machine, and add a new Button element to the application, and set its properties to the following values:

  • x:Name: CloseBtn
  • Text: Close
  • HorizontalOptions: Fill

You only have to edit the XAML file.

Check: If the program runs successfully without throwing any exceptions then your task is correct.

A new button element can be created by using the <Button property1="value1" property2="value2" … /> syntax.

    <Button 
    x:Name="CloseBtn"
    Text="Close"
    HorizontalOptions="Fill" />
  

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

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