ContainerContentChangingEventArgs.InRecycleQueue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property bool InRecycleQueue { bool get(); };
bool InRecycleQueue();
public bool InRecycleQueue { get; }
var boolean = containerContentChangingEventArgs.inRecycleQueue;
Public ReadOnly Property InRecycleQueue As Boolean
Property Value
bool
true if the container is in the recycle queue of the ListViewBase; otherwise, false.
Remarks
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.