Hi
I get the following error when starting the CustomNodeType example:
ystem.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Mindscape.WpfDiagramming.Foundation.DiagramConnectionElement', AncestorLevel='1''. BindingExpression:Path=ToConnectionPoint.Position.X; DataItem=null; target element is 'TranslateTransform' (HashCode=9645460); target property is 'X' (type 'Double')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Mindscape.WpfDiagramming.Foundation.DiagramConnectionElement', AncestorLevel='1''. BindingExpression:Path=ToConnectionPoint.Position.Y; DataItem=null; target element is 'TranslateTransform' (HashCode=9645460); target property is 'Y' (type 'Double')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Mindscape.WpfDiagramming.Foundation.DiagramConnectionElement', AncestorLevel='1''. BindingExpression:Path=FromConnectionPoint.Position.X; DataItem=null; target element is 'TranslateTransform' (HashCode=31392547); target property is 'X' (type 'Double')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Mindscape.WpfDiagramming.Foundation.DiagramConnectionElement', AncestorLevel='1''. BindingExpression:Path=FromConnectionPoint.Position.Y; DataItem=null; target element is 'TranslateTransform' (HashCode=31392547); target property is 'Y' (type 'Double')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Mindscape.WpfDiagramming.Foundation.DiagramConnectionElement', AncestorLevel='1''. BindingExpression:Path=RequestedConnectionPoint.X; DataItem=null; target element is 'TranslateTransform' (HashCode=3378500); target property is 'X' (type 'Double')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Mindscape.WpfDiagramming.Foundation.DiagramConnectionElement', AncestorLevel='1''. BindingExpression:Path=RequestedConnectionPoint.Y; DataItem=null; target element is 'TranslateTransform' (HashCode=3378500); target property is 'Y' (type 'Double')
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=EffectiveZoom; DataItem=null; target element is 'ScaleTransform' (HashCode=10366524); target property is 'ScaleX' (type 'Double')
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=EffectiveZoom; DataItem=null; target element is 'ScaleTransform' (HashCode=10366524); target property is 'ScaleY' (type 'Double')
'CustomNodeType.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
What causes this and how can I get around it :-)