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.Forms pages - Xamarin Tutorial

From the course: Xamarin.Forms Essential Training

Start my 1-month free trial

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…

Contents