From the course: .NET MAUI Essential Training
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Flex layout - .NET MAUI Tutorial
From the course: .NET MAUI Essential Training
Flex layout
- Now that we've got our grid and our stack layouts, those are really the most common things you're going to use because they address most of the layout of elements on the page. But we're going to go now to our staggered intervals. We've got our button here. I'm just going to paste in that command just like we had on the regular intervals. Get some more space here. So we want to, when we click that plus, go run an add interval command from our model. So if we go to our StaggeredIntervalsModel, you'll see there's our add interval command. We're just going to do a navigate to NewStaggeredInterval, and we've added that in our app shell, if you remember, to our routing. So we know that's supposed to go to that page. So the last bit to connect those up in our views is on the staggered intervals. We need to make sure we actually get to the StaggeredIntervalsModel, call it Model, and we'll initialize the component, go in…
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.