SelectedIndices

2 posts, 0 answers
  1. Patric
    Patric avatar
    4 posts
    Member since:
    Jan 2009

    Posted 03 May 2010 Link to this post

    In the Q1 release of the Telerik WinForms the

    listbox.SelectedIndices

    is gone. Is there a equivalent or do i have to check against the values?
    since i'm working with a static list in this case the index is the ID of the item, and
    the performance of caching the indices is better than getting the object values of the raditem.
    (Multiselection of course)

    What do you guys suggest?
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 04 May 2010 Link to this post

    Hello Patric,

    During the refactoring of RadListBox's data binding for Q3 2009 we decided that the SelectedIndices collection, along with a few other internal things, is adding unnecessary complexity to the code, so we decided to remove it. You can easily migrate your application by using the SelectedItems collection and getting the value of the RadListBoxItem.Index property. The Index property is cached and will not cause a slow down.

    Write again if you have other questions.

    Sincerely yours,
    Victor
    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 WinForms is Visual Studio 2017 Ready
Back to Top