---
title: "Comment by Harvey Triana on \"How to write a Custom Control for .NET MAUI using SkiaSharp\" | Hashnode"
description: "Hello. A couple of comments. You don&#39;t mention in this writing that it is necessary to add the ProgressBarHandler class, even though it is empty. I did the"
url: "https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598/comment/64a77bf1d6052e06fc16048e"
---

[Discussion](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598)

Comment [How to write a Custom Control for .NET MAUI using SkiaSharp](https://hashnode.com/posts/how-to-write-a-custom-control-for-net-maui-using-skiasharp/63860243cbb3b7f10f42c598)

[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.
