Table of Contents

Struct VirtualScrollDragMoveInfo

Namespace
Nalu
Assembly
Nalu.Maui.VirtualScroll.dll

Information about a drag move operation in a VirtualScroll.

public readonly record struct VirtualScrollDragMoveInfo : IEquatable<VirtualScrollDragMoveInfo>
Implements
Inherited Members

Constructors

VirtualScrollDragMoveInfo(object?, int, int, int, int)

Information about a drag move operation in a VirtualScroll.

public VirtualScrollDragMoveInfo(object? Item, int CurrentSectionIndex, int CurrentItemIndex, int DestinationSectionIndex, int DestinationItemIndex)

Parameters

Item object

The data source item being moved retrieved from the adapter in the corresponding source position.

CurrentSectionIndex int

The section index for the source item.

CurrentItemIndex int

The item index for the source item.

DestinationSectionIndex int

The section index for the destination item.

DestinationItemIndex int

The item index for the destination item.

Properties

CurrentItemIndex

The item index for the source item.

public int CurrentItemIndex { get; init; }

Property Value

int

CurrentSectionIndex

The section index for the source item.

public int CurrentSectionIndex { get; init; }

Property Value

int

DestinationItemIndex

The item index for the destination item.

public int DestinationItemIndex { get; init; }

Property Value

int

DestinationSectionIndex

The section index for the destination item.

public int DestinationSectionIndex { get; init; }

Property Value

int

Item

The data source item being moved retrieved from the adapter in the corresponding source position.

public object? Item { get; init; }

Property Value

object