Use middle mouse button to pan

Why I am not able to use middle mouse button to pan?