ContainerContentChangingEventArgs.InRecycleQueue Property

Definition

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

Boolean

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.

Applies to