ItemsControl.IsItemItsOwnContainerOverride(Object) 方法

定義

判斷指定的項目是否為 (或可以成為) 其本身的容器。Determines if the specified item is (or is eligible to be) its own container.

protected:
 virtual bool IsItemItsOwnContainerOverride(System::Object ^ item);
protected virtual bool IsItemItsOwnContainerOverride (object item);
abstract member IsItemItsOwnContainerOverride : obj -> bool
override this.IsItemItsOwnContainerOverride : obj -> bool
Protected Overridable Function IsItemItsOwnContainerOverride (item As Object) As Boolean

參數

item
Object

要檢查的項目。The item to check.

傳回

Boolean

如果項目是 (或可以成為) 其本身的容器,則為 true;否則為 falsetrue if the item is (or is eligible to be) its own container; otherwise, false.

適用於

另請參閱