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
ItemobjectThe data source item being moved retrieved from the adapter in the corresponding source position.
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 moved retrieved from the adapter in the corresponding source position.
public object? Item { get; init; }