I'm a newbie to Infragistics ribbon and carousel controls. I presently have a drop-down in a ribbon to select a view in my WPF application. There are approximately ten different views. I'd like to replace the drop-down with a carousel so that it's easier for the user to go to the next/previous view and still see which view is selected. It seems like a good fit, but unfortunately I haven't been able to figure out, even with all the excellent examples in the samples download, how to do that.
So, pretend you have ten different images (corresponding to my views) in a carousel (I really don't know if it needs to be a xamCarouselPanel or a xamCarouselListBox, though I'd prefer to be able to data-bind to the list, rather than hard-coding it) in a ribbon. Can someone provide the XAML for that?
Thanks!
Brad.
Hello Brad,
Thank you for your post!
I have been looking into it. Currently the following tools can be placed inside the XamRibbon: http://help.infragistics.com/Help/Doc/WPF/2015.1/CLR4.0/html/xamRibbon_Tools.html.
What I can suggest is using a Gallery. More information about the Gallery you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2015.1/CLR4.0/html/xamRibbon_Gallery.html. When you open the link you would be able to see a picture, that shows a list of different font styles. Every font style has a picture, that shows how the font would look like. You can use this Gallery to display the different views, that you have.
Also there is a sample in our samples browser for this too. The sample is named: In our samples browser there is a sample named "Defining a Gallery".
Please do not hesitate to let me know if you have any further questions on this matter.
Yes, I'd noticed that the carousel wasn't specifically mentioned in that list, but it appears to work when I put one in the ribbon. I though I just needed help getting it working the way I want it to.
I was looking at the gallery, but it doesn't work quite the way I'd like. I definitely need a "next/previous" navigator, and the currently-selected item needs to be highlighted. Also, I do not want any kind of drop-down behavior.