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
540
How to change CarouselPanel item width and height
posted

Hello :

          I adopt images as items of CarouselPanel but I found that if I config the image width larger than 133 and height larger than 100

therefore the horizontal and vertical scrollbar appears.

         How to cancel the scrollbar?

         Shall I change any property settings?

 

Sincerely

  

Parents
  • 540
    Verified Answer
    posted

    Hello:

            I already found the solution. Just config ItemSize in below xaml sample:

    <igWindows:XamCarouselPanel.ViewSettings>

            
    <igWindows:CarouselViewSettings 
                
    ItemSize="100,50"
     
                
    ItemHorizontalScrollBarVisibility="Hidden"
     
                
    ItemVerticalScrollBarVisibility="Hidden"
     
                
    ItemPathRenderBrush="#77000000"/>


        
    </igWindows:XamCarouselPanel.ViewSettings>

Reply Children
No Data