You can only apply the Team Foundation Gantt view when the current view is one of the following: Gantt Chart, Task Entry, ...