zubetto / ColorControl

The color picker panel, implemented as the WPF UserControl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColorControl

The ColorControlPanel class represents the color picker panel and it is derived from the WPF UserControl class. The following public members and Dependency Properties (DP) of the ColorControlPanel are mainly in use:

  • SelectedColor gets a currently picked color
  • ColorChanged event occurs when the SelectedColor is changed
  • DP InitialColorBrush gets/sets the initial color to which you can return by clicking the left rectangle
  • DP SelectedColorBrush gets/sets the SelectedColor
  • DP TextBoxBackground, TextBoxBorder, TextForeground can be used for styling

Included lightweight test project represents template of usage of the ColorControlPanel.

alt text

About

The color picker panel, implemented as the WPF UserControl

License:Apache License 2.0


Languages

Language:C# 100.0%