简体   繁体   中英

Xamarin.Forms.CarouselView next and prev item event from button

Xamarin.Forms.CarouselView

Hello everyone, my goal is to scroll to the next or previous page CarouselView the index, using the arrow buttons forward and back arrow. The problem is that I find online events to advance the index of CarouselView. It's possible to do it ? Exist? Thank you

GitHub open source project here

You will have to Bind to the Position property of CarouselView.

The property is available here in github.

    public int Position
    {
        get { return (int)GetValue(PositionProperty); }
        set { SetValue(PositionProperty, value); }
    }

You can find a good sample of what you are trying to accomplish here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM