ItemsControl.IsItemItsOwnContainer(Object) 方法

定义

确定指定项是否是其自己的容器(或者是否可以作为自己的容器)。Determines if the specified item is (or is eligible to be) its own container.

public:
 bool IsItemItsOwnContainer(System::Object ^ item);
public bool IsItemItsOwnContainer (object item);
member this.IsItemItsOwnContainer : obj -> bool
Public Function IsItemItsOwnContainer (item As Object) As Boolean

参数

item
Object

要检查的项。The item to check.

返回

如果该项是(或者可以作为)其自己的容器,则为 true;否则为 falsetrue if the item is (or is eligible to be) its own container; otherwise, false.

实现

MS.Internal.Controls.IGeneratorHost.IsItemItsOwnContainer(System.Object)

注解

此方法调用 IsItemItsOwnContainerOverride 方法。This method calls the IsItemItsOwnContainerOverride method.

适用于