Skip to content

A WPF/MVVM implementation of a themeable color picker control.

License

Notifications You must be signed in to change notification settings

Dirkster99/ColorPickerLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Release NuGet

Net4 NetCore3

ColorPickerLib

A WPF/MVVM implementation of a themeable color picker control

Project Description

This project implements a Color Picker control using MVVM/Windows Presentation Foundation (WPF) pattern and technology. These controls can be themed in dark and light themes and are localized.

You can test these controls with the demo applications provided in this repository.

Features

This version of the control implements:

  • a few bug fixes (eg.: you cannot enter letters or more than 3 digits in a channel input element).

Supports localization for:

  • Chinese (Simplified) and Chinese (Traditional)
  • Czech
  • Dutch
  • English
  • French
  • German
  • Hindi
  • Indonesian
  • Italian
  • Japanese
  • Spanish

Theming

Load Light or Dark brush resources in you resource dictionary to take advantage of existing definitions.

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/ColorPickerLib;component/Themes/DarkBrushs.xaml" />
    </ResourceDictionary.MergedDictionaries>
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/ColorPickerLib;component/Themes/LightBrushs.xaml" />
    </ResourceDictionary.MergedDictionaries>

These definitions do not theme all controls used within this library. You should use a standard theming library, such as:

to also theme standard elements, such as, button and textblock etc.

References

This project implements a WPF Color Picker control.

The project is based on: