And button add label and eventhandler the buttonin the xaml editor
Solved Step by Step with Explanation: create universal windows platform app in visual studio with XAML and C#
Question:
4 - Run the Application on Local Machine - 8 marks
Answer:
Solved Step by Step with Explanation: create universal windows platform app in visual studio with XAML and C#
Select Visual C# > Windows Universal > Blank App (Universal Windows).
Give the project a name and click Create.
Add Label and EventHandler to the BUTTON
In the XAML editor, add the following code below the buttons:
label.Content = "Button 1 was clicked";
}