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

Resizing Carousel

1 Answer 49 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
David Ribb
Top achievements
Rank 1
David Ribb asked on 22 Apr 2010, 03:52 AM
Currently I am setting the ItemsPerPage on the panel to get the look i want.  When I resize the window, the space between the items expands which is what I do not want.  To solve this, I bound the ItemsPerPage to a property on my MVVM to handle this and it works well in keeping my item spacing the way I want.  The problem is that the SelectedItem changes as I resize.  The ItemSource and the SelectedItem are bound to properties on my MVVM, and those 2 actual values never change, but what is displayed on the carousel as the SelectedItem does change.

How can I resize the carousel, keep the item spacing the same (by adding more items per page) AND keep the selected item to what it was before the resizing?

Thanks,
David Ribb

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 27 Apr 2010, 06:01 PM
Hello David Ribb,

I tried to reproduce the problem with selection but I couldn't. Could you please take a look at the sample project. 


All the best,
Milan
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.
Tags
Carousel
Asked by
David Ribb
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or