How bind relatived event in treelistview in ViewModel of MVVM

3 posts, 0 answers
  1. Lior
    Lior avatar
    28 posts
    Member since:
    Aug 2012

    Posted 25 Oct 2012 Link to this post

    Hi,
    I got a dynamically creating columns in treeListview. But some of the list event is written in ***.xaml.cs. In our solution, we adopt mvvm,
    How should we set the event in ViewMode like "RowLoaded" and "RowIsExpandedChanging" event. thanks a lot.
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 25 Oct 2012 Link to this post

    Hi,

     The right approach for events in reusable MVVM way are attached behaviors. You can check for example this demo

    Regards,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Lior
    Lior avatar
    28 posts
    Member since:
    Aug 2012

    Posted 29 Oct 2012 Link to this post

    Hi vlad,
    Thank you, After research, We adopt another solution for this issue. thank you again.
Back to Top