11 Beyond the basics: Custom controls

This chapter covers

  • Building reusable components with templated controls
  • Creating your own bindable properties
  • Modifying the default controls with handlers
  • A recap on code sharing

.NET MAUI comes with enough controls to let you build almost any UI. Functionally, there is very little that you can’t do using just the standard controls, and they are highly customizable through styles and various styling properties. But, sometimes, you need to go a little further.

In .NET MAUI you have a few ways to build or customize controls, from bundling controls into a reusable component, to customizing the platform implementations that come in the box, to drawing your own controls and graphics with the Microsoft.Maui.Graphics ...

Get .NET MAUI in Action 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.