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
ItemobjectThe data source item being dragged retrieved from the adapter in the corresponding drag position.
OriginalSectionIndexintThe section index for the source item when the drag started.
OriginalItemIndexintThe item index for the source item when the drag started.
CurrentSectionIndexintThe section index for the source item.
CurrentItemIndexintThe item index for the source item.
DestinationSectionIndexintThe section index for the destination item.
DestinationItemIndexintThe item index for the destination item.
Properties
CurrentItemIndex
The item index for the source item.
public int CurrentItemIndex { get; init; }
Property Value
CurrentSectionIndex
The section index for the source item.
public int CurrentSectionIndex { get; init; }
Property Value
DestinationItemIndex
The item index for the destination item.
public int DestinationItemIndex { get; init; }
Property Value
DestinationSectionIndex
The section index for the destination item.
public int DestinationSectionIndex { get; init; }
Property Value
Item
The data source item being dragged retrieved from the adapter in the corresponding drag position.
public object? Item { get; init; }
Property Value
OriginalItemIndex
The item index for the source item when the drag started.
public int OriginalItemIndex { get; init; }
Property Value
OriginalSectionIndex
The section index for the source item when the drag started.
public int OriginalSectionIndex { get; init; }