RadTreeView with IsTriStateMode

2 posts, 0 answers
  1. Pam
    Pam avatar
    11 posts
    Member since:
    Feb 2011

    Posted 13 Jul 2011 Link to this post

    Hi, I'm using the RadTreeView, binding it t to a list of objects, which have a IsChecked property and binding it using the item container style.

     But i trying to get this approach:
    - If I choose children, the parent is marked using the IsTriStateMode in true) and the event Checked/Unchecked is fired
    - If check the parent root, the children won't be marked and the event Checked isn't fired.

    Any ideas of how to do this approach?
    thank you
  2. Pam
    Pam avatar
    11 posts
    Member since:
    Feb 2011

    Posted 14 Jul 2011 Link to this post

    the problem was solved using
    if ((e as RadTreeViewCheckEventArgs).IsUserInitiated == true)
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top