This is a migrated thread and some comments may be shown as answers.

Won't work with my binding

1 Answer 34 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
selom
Top achievements
Rank 1
selom asked on 25 Oct 2013, 03:14 AM
Everything appears including the images, but no changes appear in the image when I use the image controls.

After sometime i see

System.Windows.Data Error: Cannot save value from target back to source. BindingExpression: Path='IsColorFixed' DataItem='Telerik.Windows.Controls.ColorEffectsTool' (HashCode=28433869); target element is 'Telerik.Windows.Controls.ColorEffectsUIControl' (Name=''); target property is 'IsColorFixed' (type 'System.Boolean').. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at Telerik.Windows.Controls.ImageHistogram.Equalize()
   at Telerik.Windows.Controls.ColorEffectsTool.FixColorCore(Int32[] pixels)
   at Telerik.Windows.Controls.ColorEffectsTool.FixColor()
   at Telerik.Windows.Controls.ColorEffectsTool.OnIsColorFixedChanged(Boolean newValue, Boolean oldValue)
   at Telerik.Windows.Controls.ColorEffectsTool.set_IsColorFixed(Nullable`1 value)

   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
   at System.Windows.CLRPropertyListener.set_Value(Object value)
   at System.Windows.PropertyAccessPathStep.set_Value(Object value)
   at System.Windows.Data.BindingExpression.UpdateValue().


any ideas?

1 Answer, 1 is accepted

Sort by
0
selom
Top achievements
Rank 1
answered on 26 Oct 2013, 03:36 AM
found the problem, not related to control. ignore thread
Tags
ImageEditor
Asked by
selom
Top achievements
Rank 1
Answers by
selom
Top achievements
Rank 1
Share this question
or