-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] [WIP] Color Picker Control #3710
Conversation
@punker76 One more thing is that we need to make the lables translateable. I like Resx files for this but maybe this is not easy enough to translate for others. |
8f6ebc5
to
ca00172
Compare
de58376
to
3687476
Compare
fdef259
to
3714e95
Compare
b53d9d4
to
6d648be
Compare
234dad9
to
ff71487
Compare
539706f
to
1ad1080
Compare
3142b8e
to
ed119de
Compare
Current state:
|
- Ability to Add as many ColorPallets as whished - Ability to use ColorCanvas to select a custom Color - Some more improvements
- Standard Colors - WPF Colors - Example with a custom tinted palette
the scroll behavior was very odd
- Implement a DropDownOpened / -Closed Event - Implement a ObservableCollection for RecentColors - Implement a Helper to set RecentColors
- Add test - Simplify conversion - More precise calculation
- Added a way to translate the Labels
- This way we can provide the ColorNamesDictionary via Binding - Implemented a Color Palette in the Demo with the MahApps-Accents (Named, see Tooltip) - Note: When the Converter is used in MultiBinding, There is no ConvertBack available.
- You can now add a Watermark - You can now clear the selected color. It will either set null or (if definied) use the default color
- Close on mouse down outside ColorPicker - Focus on ColorPalette when opening - Change the way ColorPalettes were implemented (Max. 5 Palettes can be used)
Update the preview image from the Background Threat to improve usability
I will close this PR because there is a new (cleaner) one available right now. See #3930 |
Describe the changes you have made to improve this project
Introduce a new
ColorCanvas
-Control
. With thisControl
we can build aColorPicker
in the future.Still to do:
ColorPalette
ColorPickerComboBox
Unit test
None until now
Additional context
Add any other context or screenshots about the feature request here.
Closed Issues
Part solution for #3520