Table of Contents

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

orientation ItemsLayoutOrientation

The orientation of the layout.

Fields

CurrentRangeProperty

Bindable property for the current visible item in the carousel.

public static readonly BindableProperty CurrentRangeProperty

Field Value

BindableProperty

Methods

GetCurrentRange(BindableObject)

Gets the current visible item in the carousel.

public static VirtualScrollRange GetCurrentRange(BindableObject bindable)

Parameters

bindable BindableObject

Returns

VirtualScrollRange

SetCurrentRange(BindableObject, VirtualScrollRange)

Sets the current visible item in the carousel.

public static void SetCurrentRange(BindableObject bindable, VirtualScrollRange value)

Parameters

bindable BindableObject
value VirtualScrollRange