4 Answers, 1 is accepted
0
Hello Jon,
The carousel does not have such event but since it relies on a ScrollViewer you can use the ScrollChanged event of the ScrollViewer class to determine when the carousel has moved. All you need to do is to hook up to the ScrollChanged event like that:
We are always looking for ways to improve our products and your question about the event got us intrigued. Could you share with us your application scenario where such event is needed? We could possibly introduce an event that is similar to the ScrollChanged event in a future release.
The answer to your second question is very straightforward - the scrollbars are fully customizable. You may refer to this sample project to find out how the default appearance of the scrollbars can be changed. There are three examples in this sample project - the one called ModifiedStyles contains the information that you are looking for.
All the best,
Milan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The carousel does not have such event but since it relies on a ScrollViewer you can use the ScrollChanged event of the ScrollViewer class to determine when the carousel has moved. All you need to do is to hook up to the ScrollChanged event like that:
<Grid> |
<telerik:RadCarousel ScrollViewer.ScrollChanged="CarouselScrollChanged" /> |
</Grid> |
We are always looking for ways to improve our products and your question about the event got us intrigued. Could you share with us your application scenario where such event is needed? We could possibly introduce an event that is similar to the ScrollChanged event in a future release.
The answer to your second question is very straightforward - the scrollbars are fully customizable. You may refer to this sample project to find out how the default appearance of the scrollbars can be changed. There are three examples in this sample project - the one called ModifiedStyles contains the information that you are looking for.
All the best,
Milan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 27 Dec 2008, 11:29 PM
HI..
thanks for the info.
I'm using the Carousel as a rolodex with pictures of the user and general info. When the Item is clicked on I update the detail in grids and textboxes below the carousel - i want to reset the textboxes and grids when the carousel is 'changed' or ScrollChanged.
thanks for the info.
I'm using the Carousel as a rolodex with pictures of the user and general info. When the Item is clicked on I update the detail in grids and textboxes below the carousel - i want to reset the textboxes and grids when the carousel is 'changed' or ScrollChanged.
0
Hi Jon,
We will take into consideration adding such event to the RadCarousel. You have provided us with a very valuable feedback and your telerik poits have been updated accordingly.
Since you can now only use the ScrollChanged event, I just want to ask you if it is sufficient for your scenario?
Regards,
Milan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
We will take into consideration adding such event to the RadCarousel. You have provided us with a very valuable feedback and your telerik poits have been updated accordingly.
Since you can now only use the ScrollChanged event, I just want to ask you if it is sufficient for your scenario?
Regards,
Milan
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nor
Top achievements
Rank 1
answered on 29 Jan 2009, 09:08 PM
However ScrollViewer.ScrollChanged event is called when items moves and gone to the code but it dosent reflect the interface on wpf like updating details according to current item .But SelectionChanged reflects the interface.