https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.control.gettemplatechild?view=winrt-26100
Control.GetTemplateChild(String) Method (Windows.UI.Xaml.Controls) - Windows apps | Microsoft Learn
Retrieves the named element in the instantiated ControlTemplate visual tree.
controlstringmethodwindows