ItemMove<TItem>
Describes a completed drag-to-reorder: which item moved and where it went.
- Kind: Record class
- Namespace: SkeleKit
- Implements:
IEquatable<ItemMove<TItem>>
| Type parameter | Summary |
|---|---|
TItem | The item type of the collection the move happened in. |
Constructors
Initializes a new instance of the ItemMove<TItem> class.
| Parameter | Summary |
|---|---|
TItem Item | The item the user moved. |
int FromSection | The section the item left. 0 for a flat list. |
int FromIndex | The item's index within its old section. |
int ToSection | The section the item landed in. 0 for a flat list. |
int ToIndex | The item's index within its new section. |
Properties
FromIndex
The item's index within its old section.
Type: int
FromSection
The section the item left. 0 for a flat list.
Type: int
Item
The item the user moved.
Type: TItem
ToIndex
The item's index within its new section.
Type: int
ToSection
The section the item landed in. 0 for a flat list.
Type: int