Treeview expand performance

2 posts, 0 answers
  1. Ignas
    Ignas avatar
    4 posts
    Member since:
    May 2012

    Posted 21 Oct 2013 Link to this post


    I have a radtreeview control in my application and a functionality to expand some nodes with a click of the button. Now it expands more than 3000 nodes and the performance is not so good as it tries to redraw the tree as it goes. The treeview is bound to ObservableCollection. What would be the best solution for performance here? Should i change binding to List and notify property changed in the end of my procedure or is there something better you could recommend?
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1165 posts

    Posted 24 Oct 2013 Link to this post

    Hi Ignas,

    The RadTreeView control is designed to visualize large amount of hierarchical data and it exposes mechanisms which can boost the performance of the control if needed. One of these mechanisms is the UI virtualization.

    By using this mechanism you will force the control to create the UI containers only for the items that can be visualized in the current viewport of the control. You can find more information about this feature here.

    Please try the UI virtualization out and let us know your feedback.

    Pavel R. Pavlov
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft R3 2016 release webinar banner
Back to Top