Binding expression failing.
Posted
by Rohit Kandhal
on Stack Overflow
See other posts from Stack Overflow
or by Rohit Kandhal
Published on 2010-06-09T06:56:45Z
Indexed on
2010/06/09
7:02 UTC
Read the original article
Hit count: 289
wpf-binding
My output window is flooded with binding expression failures like :
"Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.UserControl', AncestorLevel='1''. BindingExpression:Path=DataContext.CurrentActivationObjectType; DataItem=null; target element is 'StackPanel' (Name=''); target property is 'NoTarget' (type 'Object')"
and similar binding issues. Also i found that these failure occurs only when the screen loads (i.e. first time) No failures there after.
I've checked the binding it is fine .
Binding :
© Stack Overflow or respective owner