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 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.

Return to top
Show: