This project is read-only.

ColorBox.Themes.Generic.xaml issue


Hello. First and foremost, a big thank you. It's a great control!

Next, my issue. Downloaded, built, ran it. Works great! Just wanted to point this out:

System.Windows.Data Error: 40 : BindingExpression path error: 'GradientStops' property not found on 'object' ''SolidColorBrush' (HashCode=11253737)'. BindingExpression:Path=Brush.GradientStops; DataItem='ColorBox' (Name=''); target element is 'LinearGradientBrush' (HashCode=30553528); target property is 'GradientStops' (type 'GradientStopCollection')

I looked in Generic.xaml and I found:
  • [Line 184] <KeyBinding Key="Del" Command="{x:Static local:ColorBox.RemoveGradientStop}"/> (shouldn't it be Delete?)
  • [Line 448]<LinearGradientBrush GradientStops="{Binding Brush.GradientStops, RelativeSource={RelativeSource TemplatedParent}}" (couldn't resolve prop. in context Media.Brush)
Anyway, the control itself functions admirably. I think I am going to use it in a little personal project. I am going to give it a face lift though. If you'd like, I could send you the result.

Best of luck to you!


ncoresoft wrote Oct 4, 2014 at 4:45 AM


"Its a great feeling when someone appreciate your work". :)

Thank you very much for the bug report, I will look at it and will get back to you.

Sure I would love to see enhancement to this control. So yes please send me the resulted version.

Thank You