Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
ArgumentNullException
posted

I am attempting to hide/show nodes via binding.  The following infragistics article isn't very MVVM friendly: "http://help.infragistics.com/NetAdvantage/DV/2011.2/CLR4.0/?page=Removing%20Nodes%20From%20Network.html". 

After creating a sample that I thought should work, I receive an "ArgumentNullException" when raising a property changed event on the property bound to the visibility of a node.  Continuing through the error or trying to handle it within a try catch block results in a "StackOverflowException" and crashes the app.

Attached is a sample application.  After running the app if you click the "Hide Red Nodes" button, it reproduces the error every time.  Below are the last few lines from the stack trace.  Is there something  I am doing incorrectly or another recommended approach from infragistics?

Kind Regards,

Daniel

PS Let me know if I would be better served by opening a support ticket.

   at System.Windows.Controls.ToolTipService.SetToolTip(DependencyObject element, Object value)
   at Infragistics.Controls.Maps.NetworkNodeNode.InitializeToolTip()
   at Infragistics.Controls.Maps.NetworkNodeNode.InitializeNode()
   at Infragistics.Controls.Maps.NetworkNodeNode.set_Control(NetworkNodeNodeControl value)
   at Infragistics.Controls.Maps.NetworkNodeNodesPanel.RenderNode(NetworkNodeNode node, Rect elementRect, RenderContext context)
   at Infragistics.Controls.Maps.NetworkNodeNodesPanel.RenderNodes(RenderContext context)
   at Infragistics.Controls.Maps.NetworkNodeNodesPanel.Render()
   at Infragistics.Controls.Maps.XamNetworkNode.ArrangeElements(Boolean immediate, Boolean refreshThumbnail)

 

NetworkNodeIssues.zip