ColorPicker

This control allows user to choose a color.

Inherits from System.Windows.Controls.Control.

ColorPicker 01

Properties

Property nameDescription
ColorGets or sets picked color.
CurrentColorGet or sets current color.
IsDropDownOpenGets or sets whether is popup visible.
PopupPlacementGets or sets the select color popup placement.

Events

Event nameDescription
ColorChangedOccurs 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"/>

Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!


Discussion