Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
xamDataCarousel navigate with mouse
posted

Is it possible to force the xamDataCarousel to navigate between items without using the navigator control?  I would like to be able to move the mouse towards the next item in the carousel and have the motion take effect.  This behaviour would be similar to the Hyperbar control that ships with expression blend tutorials and shown here:

http://blogs.msdn.com/expression/articles/516599.aspx

The xamDataCarousel is more flexible than the above control and simply looks better but I really want to duplicate the mouse generated navigation that the hyperbar displays

Thanks

Parents
  • 9694
    posted

    There are several ways to do this. Keep in the mind the CarouselPanelNavigator comes with navigation commands for moving the carousel.

    I created a sample project which contains an EventHandler for MouseDown events on the objects contained within a carousel. This is where you have a lot of room for approaching this differently. The main thing is you need to act on the mouse down on the item in the carousel, determine which way to move the carousel and navigate to the next or previous item n number of moves in order to display the clicked item in the designated top spot.

    I will make this sample public in an Infragistics blog. Until then, if you would like me to email the sample project directly to you, leave me your email address in an email to me:

    To send me an email, click on my name on the left and look for the Send Email to this User link in the lower left corner.

Reply Children
No Data