Table of Contents

Struct VirtualScrollDragDropInfo

Namespace
Nalu
Assembly
Nalu.Maui.VirtualScroll.dll

Information about a drop-over operation in a VirtualScroll.

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

Constructors

VirtualScrollDragDropInfo(object?, int, int, int, int, int, int)

Information about a drop-over operation in a VirtualScroll.

public VirtualScrollDragDropInfo(object? Item, int OriginalSectionIndex, int OriginalItemIndex, int CurrentSectionIndex, int CurrentItemIndex, int DestinationSectionIndex, int DestinationItemIndex)

Parameters

Item object

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

OriginalSectionIndex int

The section index for the source item when the drag started.

OriginalItemIndex int

The item index for the source item when the drag started.

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 dragged retrieved from the adapter in the corresponding drag position.

public object? Item { get; init; }

Property Value

object

OriginalItemIndex

The item index for the source item when the drag started.

public int OriginalItemIndex { get; init; }

Property Value

int

OriginalSectionIndex

The section index for the source item when the drag started.

public int OriginalSectionIndex { get; init; }

Property Value

int