ItemsControl.IsItemItsOwnContainerOverride Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines if the specified item is (or is eligible to be) its own container.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- item
- Type: System.Object
The item to check.
Return Value
Type: System.Booleantrue if the item is (or is eligible to be) its own container; otherwise, false.
A class that inherits from ItemsControl can override this method to indicate whether item is the item container. If you override IsItemItsOwnContainerOverride, always call the base implementation in your IsItemItsOwnContainerOverride implementation.
Show: