ItemsControl.IsItemItsOwnContainer(Object) Method

Definition

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

Parameters

item
Object

The item to check.

Returns

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

Implements

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

Remarks

This method calls the IsItemItsOwnContainerOverride method.

Applies to