Rendering Model

Xamarin.Forms has common APIs to describe cross-platform mobile user interfaces.

The description of the UI is categorized by pages, layouts, and controls. We will explore each one of them in this chapter.

Each page, layout, and control is rendered differently on each platform using a Renderer class.

A renderer creates a native control corresponding to the Xamarin.Forms representation, arranges it on the screen, and adds the behavior specified in the shared code.

In this chapter, we will implement our own custom Renderer class to customize the appearance and behavior of a control.

Custom renderers for a given type can be added to one application project to customize the control in one platform while allowing the default behavior on ...

Get Xamarin 4 By Example 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.