ItemsControl.GetContainerForItemOverride Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates or identifies the element that is used to display the given item.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.Windows.DependencyObjectThe element that is used to display the given item.
A class that inherits from ItemsControl can override this method to return a specific type to be the item container. If you override GetContainerForItemOverride, always call the base implementation in your GetContainerForItemOverride implementation.
Show: