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
365
Turn off Virtualization in xamDataTree
posted

Hi,

I am currently trying to perform some acceptance testing on my usercontrols and one of the controls contains a xamDataTree. The control is correctly created and the view model correctly set to the DataContext and all the binding is correct. However the xamDataTree reports that its ItemsSource is null and therefore has no nodes. To my understanding this is due to the virtualization on the xamDataTree, to this end is there a way for me to switch it off? Or is there another solution?

Thanks

Parents
No Data
Reply
  • 35319
    posted

    Hi Hagashen,

     

    Thank you for your post. I have been looking into your scenario and I am not sure what exactly can make the ItemsSource be null. If you would like to turn off the virtualization of the XamDataTree, you could put the control in ScrollViewer.

     

    Let me know, if you need any further assistance on this matter.

Children