ViewContext.View Property

Gets an object that implements the IView interface to render in the browser.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public virtual IView View { get; set; }

Property Value

Type: System.Web.Mvc.IView
The view.
Show: