dotnet / dotnet/maui

[Enhancement] Progressbar handlers should use Paint

Open
#2,403 1 comment 2 reactions 0 assignees View on GitHub
area-controls-progressbar t/enhancement ☀️
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

## Summary
We added #2250 but we used Color instead of Paint for now, we should implement the handler using the `Paint` type so we can do gradients etc

## API Changes

```
public interface IProgress : IView
{
Paint ProgressColor { get; }
}
```

## Intended Use Case

Allow to have a ProgressBar with gradient paint or future kinds of `Paint`

Contributor guide

Open the contributing guide

Research direction

Review the progressbar handler work introduced by #2250 and the IProgress API shown in this issue. Trace the handlers that currently use Color and determine the relevant tests or samples for progress rendering. Done means the handlers use Paint through the exposed ProgressColor API and the intended gradient use case is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.