This is a migrated thread and some comments may be shown as answers.

ItemsOptionListType - Moved my Cheese

1 Answer 106 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Joel Palmer
Top achievements
Rank 2
Joel Palmer asked on 29 Oct 2013, 06:42 PM

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;

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 01 Nov 2013, 02:43 PM
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.

Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
Tags
TreeView
Asked by
Joel Palmer
Top achievements
Rank 2
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or