As we try to move items to the beginning of the list, an exception is thrown saying the "An item with the same key has already been added."
The attached screen shot shows some variable state, the stack, the exception, and the code on our side.
Also included a snippet of the XAML content for reference.
Is there something we need to configure differently?
4 Answers, 1 is accepted
As suggested in the other forum thread you have started, please give RadListView a try and let us know if you experience such issues.
Best regards,
Ves
Telerik
The RadListView and the RadDataboundListBox don't seem to have the same features - the DataBoundListBox supports a "Masonry View" using:
http://docs.telerik.com/windows-universal/controls/raddataboundlistbox/features/databoundlistbox-virtualization-strategies
Defining the Stack Count
Depending on the wrapping orientation, items will be ordered in columns or rows. You can choose how many columns or rows will be created by setting the StackCount property exposed by the DynamicGridVirtualizationStrategyDefinition class. For example, if the Orientation is set to be Horizontal and the StackCount is set to 3, you will get a result similar to the following:
I don't see the same features on the RadListBox.
You are quite correct! While RadListView can cover most of the scenarios of RadDataBoundListBox it still does not offer DynamicGridVirtualizationStrategy analogue (have have plans to include it as well in near future).
Regarding the issue described - we recognize this as an issue in RadDataBoundListBox and will address it in one of our next internal builds.
Regards,
Tsvyatko
Telerik