The uncertainty principle defines the limits of how much it is possible to know about a particle.
However, the phenomenon described as wave-particle duality is not real. It is the result of our failure to understand the real impact of the uncertainty principle.