Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 745 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 745 Bytes

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