https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.itemcontainergenerator.containerfromitem?view=windowsdesktop-10.0&redirectedfrom=MSDN
ItemContainerGenerator.ContainerFromItem(Object) Method (System.Windows.Controls) | Microsoft Learn
Returns the UIElement corresponding to the given item.
objectmethodsystemwindowscontrols