Chapter 5. User Interface

Here is a quick look at what we'll cover in this chapter:

  • How to leverage platform-specific APIs to extend the default behavior of Xamarin.Forms controls with Custom Renderers
  • How to manipulate the visual appearance of bound data with Value Converters

Custom Renderers

One of the paramount features of the Xamarin.Forms toolkit is the layer of abstraction it provides over user interface implementation. With a single API, Xamarin.Forms allows you to use native user interface controls and functionality. For example, the Entry class at runtime will display a UITextField view on iOS, an EditText widget on Android, and a TextBox control on Windows. The toolkit does this by using a concept called Renderers. The renderers correspond ...

Get Mastering Xamarin.Forms 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.