Dela via


ItemsControl.IsItemItsOwnContainerOverride(Object) Method

Definition

Determines whether the specified item is (or is eligible to be) its own container.

protected:
 virtual bool IsItemItsOwnContainerOverride(Platform::Object ^ item) = IsItemItsOwnContainerOverride;
bool IsItemItsOwnContainerOverride(IInspectable const& item);
protected virtual bool IsItemItsOwnContainerOverride(object item);
function isItemItsOwnContainerOverride(item)
Protected Overridable Function IsItemItsOwnContainerOverride (item As Object) As Boolean

Parameters

item
Object

Platform::Object

IInspectable

The item to check.

Returns

Boolean

bool

true if the item is (or is eligible to be) its own container; otherwise, false.

Applies to