Can't use outside of demo


When I include this code in my own (empty) project, I get an error in the VS2010 WPF designer : "cannot modify the logical children for this node at this time because a tree walk is in progress".


weifenluo wrote Nov 16, 2010 at 6:31 AM

I experienced the same error when I use WPF SplitContainer in another project. Cannot figure out why but I highly suspect it's a bug of VS2010 WPF designer since the application runs well at runtime. I did find a workaround though by splitting the UI XAML into two parts, by making a separate UserControl that contains the SplitContainer, and using this UserControl.

wrote Feb 13, 2013 at 11:13 PM