I'd like to set the selectedColorProperty of the radColorPicker to be bound to a value.
I need the binding mode to be twoWay.
This is the code I am using:
I need the binding mode to be twoWay.
This is the code I am using:
var fg = new Binding("TextBlockForeground");
fg.Source = cStyles;
fg.Converter = cc; (WHERE cc returns a SolidColorBrush.Color)
fg.Mode =
BindingMode.TwoWay;
cp.SetBinding(
RadColorPicker.SelectedColorProperty, fg);
When the color picker loads and when I select a color, the value that it is bound to updates correctly, however, the chosen color represented in the colorpicker's icon is not updated.
Is this a bug?
Thanks,
Ez