ItemsOptionListType - Moved my Cheese

2 posts, 0 answers
  1. Joel Palmer
    Joel Palmer avatar
    175 posts
    Member since:
    May 2009

    Posted 29 Oct 2013 Link to this post

    I just installed the latest version of WPF controls (2013.3.1016.40) and my TreeView no longer registers this property.  Can you tell me what the new alternative is for this property?  Thanks.

    tv.ItemsOptionListType = OptionListType.CheckList;
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 01 Nov 2013 Link to this post

    Hello Joel,

    You are right that the ItemsOptionListType property is not available in the RadTreeView control. With the Q1 2013 release, the RadioButtons logic implemented in the RadTreeView is obsoleted. This means that the following list of properties were also obsoleted:

    • RadTreeView.ItemsOptionListType
    • RadTreeViewItem.ItemsOptionListType
    • RadTreeViewItem.OptionType
    • RadTreeViewItem.IsRadioButtonEnabled
    With our latest official release Q3 2013 the RadioButtons logic is no longer available in the RadTreeView control. In order to achieve the same functionality with our latest release you can create DataTemplate hosting the desired RadioButton/CheckBox control along with the TextBlock, hosting the header of the items.

    Furthermore, that DataTemplate can be set as ItemTemplate of the RadTreeView. Also, you will be able to implement custom checking/unchecking logic in your ViewModel.

    I hope this clarifies your concerns.

    Pavel R. Pavlov
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top