From the course: .NET MAUI Essential Training
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Challenge: Add a content page - .NET MAUI Tutorial
From the course: .NET MAUI Essential Training
Challenge: Add a content page
(upbeat music) - [Instructor] For this first challenge, we're going to clean things up a little bit here and just leave our app Shell XAML file. And what I want you to do is add a content page to the application and add it into the Shell. So we'll do a to-do here, little comment, just like in HTML or XML. So step one is add a new XAML content page. Now this is going to be in your new items and it's going to be under the MAUI section and you'll be able to find that and give it a name, something as simple as New Page and add that in over here underneath our views. So we want to add that next to all the other items and that means we'll have the views name space here, that makes sense. And then add that, add that view to the Shell. So you want to be able to take that content page and add it into the Shell, along with these other items so that it shows up in the flyout and you can click and see that page. If you want…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Components of a Shell application4m 30s
-
(Locked)
Organizing Shell content8m 45s
-
(Locked)
Adding menu items4m 57s
-
(Locked)
Navigating to Shell items3m 8s
-
(Locked)
Navigating outside the Shell3m 3s
-
(Locked)
Passing data when navigating3m 50s
-
(Locked)
Other page types3m 4s
-
(Locked)
Challenge: Add a content page1m 46s
-
(Locked)
Solution: Add a content page3m 25s
-
-
-
-
-
-