Approved
Last Updated: 29 Mar 2016 10:34 by ADMIN
ADMIN
Hristo
Created on: 23 Oct 2015 11:17
Category: Carousel
Type: Bug Report
0
FIX. RadCarousel - if the control contains 6 items, the initial position of the last item is incorrect
Workaround:
public Form1()
{
    InitializeComponent();

    this.radCarousel1.CarouselElement.AnimationFinished += CarouselElement_AnimationFinished;
}

void CarouselElement_AnimationFinished(object sender, EventArgs e)
{
    if (this.radCarousel1.Items.Count == 6)
    {
        radCarousel1.CarouselElement.AnimationFinished -= CarouselElement_AnimationFinished;
        this.radCarousel1.SelectedIndex--;
    }
}
0 comments