-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.ContainerContentChangingEventArgs.InRecycleQueue |
winrt property |
Gets a value that indicates whether this container is in the recycle queue of the ListViewBase and is not being used to visualize a data item.
true if the container is in the recycle queue of the ListViewBase; otherwise, false.
You can check this property in a ContainerContentChanging event to determine if you should release references to the data item. If this property is true, ItemIndex is -1 and Item is null.