disable only parent item (not child items) in hierarchial tree

2 posts, 0 answers
  1. Rachel
    Rachel avatar
    13 posts
    Member since:
    Sep 2008

    Posted 20 Jun 2011 Link to this post

    i have the following tree:
    ----------------------------------
    a
       1
       2
    b
    c
       1
       2
    -------------------------------
    is it possible to disable parent a and NOT disable child 1 and child 2?
    because isEnabled property disable a,1,2 altogether?

    is it possible to disable selection of parent a
    (and not affect children selection)?

    thank you!
    Rachel
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 22 Jun 2011 Link to this post

    Hello Rachel,

    Th IsEnabled property cannot be used in such manner, it always disables the ChildItems. The Selection or Checking could be disabled with the PreviewSelectionChanged and PreviewChecked events, furthermore you can use checkboxes or certain items only. Let us know if you need further assistance on this.

    Best wishes,
    Petar Mladenov
    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top