From the course: .NET MAUI: Beyond the Basics
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge: Creating a XAML form - .NET MAUI Tutorial
From the course: .NET MAUI: Beyond the Basics
Challenge: Creating a XAML form
(lively music) - [Instructor] For this chapter's challenge in the start code for this video, we have all the plumbing we need to run the app with the screen on the left, but we want to use some of the concepts we learned in this chapter to create the screen on the right. There is a custom view that has been created called title label and we want to use that on all the titles on the left-hand side of the form. The view has a factory method instead of a normal parameter list instructor. Use the factory method on your XAML to replace the labels on the left-hand side of the view. Currently, the text of the labels is hard coded. However, there's a resource file called prompts that has all the labels we need. Load the appropriate text from the resource file for each label. Lastly, the first two entry fields are a custom entry view. Change these so that if the text is empty, a red border appears. If there is text, the…
Contents
-
-
-
-
-
(Locked)
Referencing custom views4m 17s
-
(Locked)
Constructors and factories4m 4s
-
(Locked)
Specifying generics in XAML7m 25s
-
(Locked)
Creating markup extensions10m 33s
-
(Locked)
Custom view states10m 56s
-
(Locked)
Challenge: Creating a XAML form2m 12s
-
(Locked)
Solution: Creating a XAML form3m 24s
-
(Locked)
-
-
-