共用方式為


ContainerContentChangingEventArgs.InRecycleQueue 屬性

定義

取得值,這個值表示這個容器是否在 ListViewBase 的回收佇列中,而且不會用來可視化數據項。

public:
 property bool InRecycleQueue { bool get(); };
bool InRecycleQueue();
public bool InRecycleQueue { get; }
var boolean = containerContentChangingEventArgs.inRecycleQueue;
Public ReadOnly Property InRecycleQueue As Boolean

屬性值

Boolean

bool

如果容器位於 ListViewBase 的回收佇列中,則為 true;否則為 false

備註

您可以在 ContainerContentChanging 事件中檢查此屬性,以判斷是否應該釋放數據項的參考。 如果此屬性為 true,ItemIndex 為 -1 且 Itemnull

適用於