CarouselView
Inheritance: Element -> NavigableElement -> VisualElement -> View -> View Xamarin.Forms documentation: CarouselView API / Guide
For details on how the control actually works, please refer to the Xamarin.Forms documentation.
Constructors
Constructors | Description |
---|---|
CarouselView(items: seq<‘itemData>) | Creates a CarouselView with the specified items. |
Properties
Properties | Description |
---|---|
isBounceEnabled(value: bool) | Sets a value that indicates whether the scrolling bounce is enabled. |
isDragging(value: bool) | Sets a value that indicates whether the scroll dragging is enabled. |
isScrollAnimated(value: bool) | Sets a value that indicates whether the scrolling is animated. |
isSwipeEnabled(value: bool) | Sets a value that indicates whether the scrolling swipe is enabled. |
loop(value: bool) | Sets a value that indicates whether the scrolling loop is enabled. |
peekAreaInsets(value: Thickness) | Sets a value that indicates the peek area insets. |
peekAreaInsets(value: float) | Sets a value that indicates the peek area insets. |
peekAreaInsets(left: float, top: float, right: float, bottom: float) | Sets values that indicates the peek area insets. |
indicatorView(value: ViewRef<IndicatorView>) | Sets a value that indicates the indicator view. |
reference(value: ViewRef<CarouselView>) | Sets a |
Events
Properties | Description |
---|---|
onScrollToRequested(onScrollToRequested: ScrollToRequestEventArgs -> ‘msg) | Event that is fired when one of the ScrollTo methods is invoked. The ScrollToRequestedEventArgs object that accompanies the ScrollToRequested event has many properties, including IsAnimated, Index, Item, and ScrollToPosition. These properties are set from the arguments specified in the ScrollTo method calls. |
onScrolled(ItemsViewScrolledEventArgs -> ‘msg) | Event that is fired to indicate that scrolling occurred. The ItemsViewScrolledEventArgs object that accompanies the Scrolled event has many properties. |
Usages
Get access to the underlying Xamarin.Forms.CollectionView
Last updated