ColorPicker
This control allows user to choose a color.
Inherits from System.Windows.Controls.Control.
Properties
Property name | Description |
---|---|
Color | Gets or sets picked color. |
CurrentColor | Get or sets current color. |
IsDropDownOpen | Gets or sets whether is popup visible. |
PopupPlacement | Gets or sets the select color popup placement. |
Events
Event name | Description |
---|---|
ColorChanged | Occurs when picked color changed |
How to use
When using the ColorPicker in data binding scenarios, bind color you want to pick to Color
property.
To get (initialize) current color bind to CurrentColor
property.
<orc:ColorPicker Width="50"
Color="{Binding PickedColor}"
CurrentColor="{Binding CurrentColor}"
PopupPlacement="Bottom"/>
Contributions
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Questions
Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!