Creating a tabbed-page cross-platform application
In Chapter 1, One Ring to Rule Them All recipes we set up our cross-platform shared UI layout using procedural behind code. There's nothing wrong with this, and you might need to continue doing it when creating custom controls. Xamarin.Forms has a big advantage utilizing XAML, which is a declarative language. Using XAML we can easily separate the design and the the behavior to speak a universal markup language between designers and developers while having reusable components, styles, and resources.
If you've done XAML programming with Microsoft before, you will find it exactly the same since the specifications are the same. The difference is mainly the controls and layout containers that you use. ...
Get Xamarin: Cross-Platform Mobile Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.