private void btnFindTemplateControlByName_Click(object sender, RoutedEventArgs e) { FrameworkElement result = WPFHelper.FindTemplateControlByName(slider, "PART_Track"); }