ui::CollectionChange¶
Header: winui/core/ObservableVector.hpp.
One change of a ui::ObservableVector, delivered to its observers after the collection has already changed.
| Field | Type | Default | |
|---|---|---|---|
kind |
CollectionChangeKind |
CollectionChangeKind::Reset |
What happened. |
index |
std::size_t |
0 |
Where it happened; unused for a Reset. |
count |
std::size_t |
0 |
How many items it covers; 1 for a move. |
to |
std::size_t |
0 |
For a move, the item's new position. |
size |
std::size_t |
0 |
The collection's size after the change. |