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

Data bind folder content to Carousel

2 Answers 60 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 20 Dec 2010, 08:56 PM

Hi,
    I would like to data bind folder content to Carousel and show related icons in the  Carousel and open the document / picure when it is double clicked. Folder contents may be picture file,video files, excel documents, word documents and other documents
    Is this possible?

Please let me know

Thank you

Nick

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 27 Dec 2010, 10:05 AM
Hi Nick,

You may try to handle the double click event on the CarouselItem for example:

this.myCarousel.AddHandler(CarouselItem.MouseDoubleClickEvent, new MouseButtonEventHandler(OnDoubleClick), true);
 
private void OnDoubleClick(object sender, MouseButtonEventArgs e)
{
   //you may implement the logic for opening the required fire in here.         
}
 
Considering opening different files, you may take a look at this forum thread for example. 

Regards,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Nick
Top achievements
Rank 1
answered on 28 Dec 2010, 05:10 AM
Hi Maya,
           Thank you for the response. I guess my main question was how to bind folder content to the control and creating icons as per folder content in the control. Any suggestions?

Thank you
Tags
Carousel
Asked by
Nick
Top achievements
Rank 1
Answers by
Maya
Telerik team
Nick
Top achievements
Rank 1
Share this question
or