microsoft / microsoft/microsoft-ui-xaml
Color class is missing from WindowsUI
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
We are meant to be able to use the Color class...
```
Color.FromArgb(...)
```
But Color class is not available in WindowsUI. The only options I have are...
System.Drawing
ABI.Windows.UI
Windows.UI
We only have access to Colors static color definitions.
### Why is this important?
This is important because my audience expects to see colors other than the predefined colors.
### Steps to reproduce the bug
Type Color, right click to bring in the reference. No option is available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the missing Color.FromArgb reference in a WindowsUI sample and inspect the existing Colors API and related color types; done means the Color class is available and custom ARGB colors can be created without losing the predefined Colors definitions.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100