Bewerken

Share via


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.

Remarks

This method calls the IsItemItsOwnContainerOverride method.

Applies to