.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 library.
NOTE
Microsoft.Maui.Graphics is a powerful library capable of sophisticated image generation and manipulation. Drawing your own controls is only a small subset of what it’s capable of. If you’re interested in learning more, see http://mng.bz/9D8o.
In this chapter, we’ll look at the first two of these three approaches. We’ll start by building our own control by reusing the built-in controls, and we’ll also see how we can modify the way that .NET MAUI displays the built-in controls by default.