In situ nanoindentation within the SEM enables direct correlation of microstructure and mechanical properties.