---
title: "Discussion on \"How to write a Custom Control for .NET MAUI using SkiaSharp\" | Hashnode"
description: "Discussion on \"How to write a Custom Control for .NET MAUI using SkiaSharp\". Let's develop a customizable Progress Bar step-by-step"
url: "https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to write a Custom Control for .NET MAUI using SkiaSharp](https://blog.ewers-peters.de/how-to-write-a-custom-control-for-net-maui-using-skiasharp?utm_source=hashnode&utm_medium=feed)

Let's develop a customizable Progress Bar step-by-step

Nov 29, 2022 · 12 min read · blog.ewers-peters.de  
Read the article

-   [#skiasharp](https://hashnode.com/tag/skiasharp)
-   [#custom-controls](https://hashnode.com/tag/custom-controls)
-   [#dotnet-maui](https://hashnode.com/tag/dotnet-maui)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#cross-platform-app-development](https://hashnode.com/tag/cross-platform-app-development)

## Written by

[Julian Ewers-Peters](https://hashnode.com/@ewerspej)

@ewerspej · Germany

  
[View profile](https://hashnode.com/@ewerspej)

Mobile App Developer

I am a passionate mobile app and software developer with a focus on C# .NET, Xamarin.Forms and .NET MAUI.

## Responses 3

Markdown supported · ⌘↵ to post

[Harvey Triana](https://hashnode.com/@harveyt)

[Jul 7, 2023](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/64a77bf1d6052e06fc16048e)

Hello. A couple of comments. You don't mention in this writing that it is necessary to add the ProgressBarHandler class, even though it is empty. I did the exercise in MUAI .NET 7, and it was necessary to do this.

Also, I suggest that IgnorePixelScaling = true, since it doesn't render with the precise units on high resolution monitors without scaling 100.

Great article. Thanks for sharing.

[Julian Ewers-Peters](https://hashnode.com/@ewerspej)

[Jul 7, 2023](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/64a77bf1d6052e06fc16048e#reply-64a7bb98a25b10201445db43)

Hi Harvey. Thank you for your comments, I'm glad you enjoyed the article. About the handler class. You can either register an empty `ProgressBarHandler` class that inherits from `SKCanvasViewHandler` or you can just use the `SKCanvasViewHandler` class directly to register the component, like I did in the article:

```
h.AddHandler<ProgressBar, SKCanvasViewHandler>();
```

In the sample repository, I indeed used the `ProgressBarHandler` class instead.

[Hosein Pirani](https://hashnode.com/@HPi)

[Jun 8, 2023](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/64817a5dad7b6e44730b7521)

Hello julian. After losimng long time ive found your blog and its what iwant. You writed it perfecrly. Now i have a problem for making my own progressbar. My progressbar is somthing like motorcycle throtle meter wich shows rpm in ramped progressbar so how i create this type progressbar can you help me? I will so happy

[Julian Ewers-Peters](https://hashnode.com/@ewerspej)

[Jun 26, 2023](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/64817a5dad7b6e44730b7521#reply-6499b18064e19e74c406374b)

Hi Hosein. I'm glad that my post helped you. I don't know what exactly you want to develop, but I don't provide free custom development services. I'm available for hire for custom development. Any code and tutorials that I provide here are for free, but I write them based on my own needs and experiences that I share with the community. Please understand that my time is limited as I also work on paid projects for clients. If you need further assistance with development tasks, you may want to write a Stack Overflow question detailing the issues you're seeing. Myself or other developers may be able to help you there.

[Akinsola Adebanji](https://hashnode.com/@AlphaCode)

[Dec 16, 2022](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/639c9f0cca71d26d2524f405)

Thanks 👍

[Julian Ewers-Peters](https://hashnode.com/@ewerspej)

[Dec 16, 2022](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/639c9f0cca71d26d2524f405#reply-639ca179052fc36d4a8f413f)

You're most welcome. I'm happy that you appreciate my post.
