SelectedItem Bindable in MVVM

3 posts, 0 answers
  1. Andrea Ferrari
    Andrea Ferrari avatar
    9 posts
    Member since:
    Apr 2010

    Posted 10 Jul 2010 Link to this post

    Hi.
    Just a question: The SelectedItem is not bindable to a property in the ViewModel on a MVVM pattern?

    If not, how to get the selectedItem in the ViewModel?
    I need becouse I've to manage the add and remove buttons.

    Thanks and regards.

    Andrea
  2. vanya
    vanya avatar
    35 posts
    Member since:
    Nov 2008

    Posted 11 Jul 2010 Link to this post

    Hi,Andrea Ferrari

    Please,see the following thread,I believe that it could be useful for you
    http://social.msdn.microsoft.com/Forums/en/wpf/thread/d9439546-95bf-41b6-ad5c-62fa41f17cb3

    Hope this helps!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 15 Jul 2010 Link to this post

    Hi Andrea,

    There should be no problem binding the SelectedItem property of RadTreeView. The attached project demonstrates element binding between a ListBox and a TreeView. Also, I'd suggest you go through the link that Vanya previously posted.

    Regards,
    Kiril Stanoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top