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
605
Grey Background appearing for Items in Carousel ListBox
posted

Hi,

      I have a problem using Carousel List Box, The Problem is I have a User Control having an Outline as below

       Border-->Stack Panel-->Grid having 2 columns

I have set all the width and height properties to Auto.

My Problem is when i am using this User Control in a Carousel ListBox, normally the Items in the Carousel looks pretty much fine but when i try to select an Item, i get a Grey Background of the usercontrol which i looking awkward...how can i solve this problem...Please help me out

 

Thanks in Advance

Ram

Parents
No Data
Reply
  • 69686
    Verified Answer
    posted

    Hello Ram,

    This is be default - the selected item gets highlighted for visual appearance. You can do that by retemplating the CarouselListBoxItem. You can find the generic xaml files in the DefaultStyles for this. I am attaching the one I took from that directory modified - the selected item will have transparent background.

    Let me know if you have further questions on this.

Children