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

    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.

  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

    Hope this helps!
  3. DevCraft R3 2016 release webinar banner
  4. Kiril Stanoev
    Kiril Stanoev avatar
    1508 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.

    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