ViewPage.ViewContext Property


Gets or sets the information that is used to render the view.

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


public ViewContext ViewContext { get; set; }
property ViewContext^ ViewContext {
    ViewContext^ get();
    void set(ViewContext^ value);
member ViewContext : ViewContext with get, set
Public Property ViewContext As ViewContext

Property Value

Type: System.Web.Mvc.ViewContext

The information that is used to render the view, which includes the form context, the temporary data, and the view data of the associated view.

See Also

ViewPage Class
System.Web.Mvc Namespace

Return to top