ItemsControl.IsItemItsOwnContainerOverride(Object) Method

Definition

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

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.ItemsControl.IsItemItsOwnContainerOverride.

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

The item to check.

Returns

Boolean

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

Applies to