Data bind folder content to Carousel

3 posts, 0 answers
  1. Nick
    Nick avatar
    21 posts
    Member since:
    Sep 2007

    Posted 20 Dec 2010 Link to this post

    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. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 27 Dec 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Nick
    Nick avatar
    21 posts
    Member since:
    Sep 2007

    Posted 27 Dec 2010 Link to this post

    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
Back to Top