search all elements with specific type in wpf xaml code example Example: wpf find child control by name object obj = grd.FindName("");