Won't work with my binding

2 posts, 0 answers
  1. selom
    selom avatar
    12 posts
    Member since:
    Nov 2010

    Posted 24 Oct 2013 Link to this post

    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?
  2. selom
    selom avatar
    12 posts
    Member since:
    Nov 2010

    Posted 25 Oct 2013 Link to this post

    found the problem, not related to control. ignore thread
  3. DevCraft banner
Back to Top