WPF can not replace DirectX. WPF can not be used to create games with stunning graphics. WPF is meant to be a replacement for windows form, not DirectX.