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
20
Media Center like behaviour
posted

Hi,

I'm trialling the Infragistics WPF controls to see if I can mimic the Windows Media Center menu. It looks like the Carousel List Box control should be able to do this but I can't get it to behave correctly.

The selected item does not stay centered and selected and the arrow keys do not appear to work correctly.

Do you have samples available that can show how to mimic this behaviour?

 

Thanks.

  • 69686
    posted

    Hello,

    The XamCarouselListBox acts like the Microsoft ListBox control however it arranges its items along a path. It's selected item is not designed to stay in the center. This would depend on the ItemsPerPage proprerty of the ViewSettings and the Path of the Carousel Panel. If you want to keep the selected item centered, you would have to scroll the panel manually, considering that you know the items displayed per page and the structure of the item path.

    However, you can see a sample implementation of a similar functionality in the XamShowCase samples - Music Browser, which are installed with the samples installer or online here. The source code for these samples is available only with the local installation.