From the course: Xamarin.Forms Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Xamarin.Forms pages - Xamarin Tutorial
From the course: Xamarin.Forms Essential Training
Xamarin.Forms pages
- [Instructor] We've looked at the application in our shared library here, I want to go back and look at the other page or UI element that was created as MainPage.xaml. XAML, if you're not familiar with it, is an xml dialect that's used in Microsoft products, for Windows Presentation Foundation and other applications to define the user interface hierarchy. You can see here we have a Content Page at the top, and inside of that we have nested a stack layout and then a label. And so, this XAML file describes a hierarchy of objects that can be instantiated and created at run time. XAML's been used for a number of different technologies, in flexible ways, was used in a work flow framework to describe a collection of activities, and here, we're defining those elements, and how they relate to each other. If we go to the code behind, you'll see that we have a class called Main Page, that derives from Content Page, and it's marked…
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.