WebViewPage.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)
Syntax
'Declaration
Public Property ViewContext As ViewContext
'Usage
Dim instance As WebViewPage
Dim value As ViewContext
value = instance.ViewContext
instance.ViewContext = value
public ViewContext ViewContext { get; set; }
public:
virtual property ViewContext^ ViewContext {
ViewContext^ get () sealed;
void set (ViewContext^ value) sealed;
}
final function get ViewContext () : ViewContext
final function set ViewContext (value : 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.