Class CarouselVirtualScrollLayout
- Namespace
- Nalu
- Assembly
- Nalu.Maui.VirtualScroll.dll
A carousel layout for virtual scroll that arranges items to fill the available space and applies paging snapping behavior.
public class CarouselVirtualScrollLayout : VirtualScrollLayout, INotifyPropertyChanged, IVirtualScrollLayout
- Inheritance
-
CarouselVirtualScrollLayout
- Implements
- Derived
- Inherited Members
Constructors
CarouselVirtualScrollLayout(ItemsLayoutOrientation)
Initializes a new instance of the CarouselVirtualScrollLayout class.
protected CarouselVirtualScrollLayout(ItemsLayoutOrientation orientation)
Parameters
orientationItemsLayoutOrientationThe orientation of the layout.
Fields
CurrentRangeProperty
Bindable property for the current visible item in the carousel.
public static readonly BindableProperty CurrentRangeProperty
Field Value
Methods
GetCurrentRange(BindableObject)
Gets the current visible item in the carousel.
public static VirtualScrollRange GetCurrentRange(BindableObject bindable)
Parameters
bindableBindableObject
Returns
SetCurrentRange(BindableObject, VirtualScrollRange)
Sets the current visible item in the carousel.
public static void SetCurrentRange(BindableObject bindable, VirtualScrollRange value)
Parameters
bindableBindableObjectvalueVirtualScrollRange