How to have Preview in viewport ?!

Hello ,
i would like to know how can i do to have the preview in viewport please ??
like this picture
thx !