I am trying to add a command to a context menu menuitem on a NodeTemplate and I am getting the following error:
System.Windows.Data Error: 40 : BindingExpression path error: 'TestValue' property not found on 'object' ''PartBinding' (HashCode=9445854)'. BindingExpression:Path=ChkSumValue; DataItem='TestValue' (HashCode=9445854); target element is 'TextBox' (Name='txtTestValue'); target property is 'Text' (type 'String').
I think the issue is I can't seem to get to the DataContext of my UserControl. It is trying to look at the PartBinding. Is there a way for me to get back to the DataContext of the Control when using the context menu on a Node template?
Thanks,
Doug