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