X-rays do not carry any charge. X-rays are not deflected by electric and magnetic fields because they do not carry any charge. X-rays are electromagnetic waves, they show all properties of light rays hence, they undergo reflection, refraction, interference, diffraction and polarisation.