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
155
creating a carousellistbox in code behind
posted

I need to create the carousel in code and while i can get the control on the screen i cannot seem to configure it.

                _carousel = new XamCarouselListBox();
                _carousel.ViewSettings.ItemsPerPage = 3;
                _carousel.ViewSettings.ReserveSpaceForReflections = true;
                _carousel.ViewSettings.ItemSize = new Size(440, 200);
                _carousel.ViewSettings.IsListContinuous = true;
                _carousel.ViewSettings.UseOpacity = true;
                //_carousel.ViewSettings.UseZOrder = true;
                _carousel.ViewSettings.ItemPath = SwipeAndShowPath;
this code creates the control and displays the objects but will not for instance set the items/page nor the path. I am at a loss as to what i am doing wrong.
Parents Reply Children
No Data