Binding expression failing.
- by Rohit Kandhal
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 :