WebViewPage(Of TModel) Class

Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax.

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

Public MustInherit Class WebViewPage(Of TModel) _
	Inherits WebViewPage
Dim instance As WebViewPage(Of TModel)

Type Parameters


The type of the view data model.

The WebViewPage(Of TModel) type exposes the following members.

Protected methodWebViewPage(Of TModel)Initializes a new instance of the WebViewPage(Of TModel) class.

Public propertyAjaxGets or sets the AjaxHelper object that is used to render HTML markup using Ajax.
Public propertyApp (Inherited from WebPageExecutingBase.)
Public propertyAppState (Inherited from WebPageExecutingBase.)
Public propertyCache (Inherited from WebPageRenderingBase.)
Public propertyContextGets the HttpContext object that is associated with the page. (Inherited from WebViewPage.)
Public propertyCulture (Inherited from WebPageRenderingBase.)
Public propertyHtmlGets or sets the HtmlHelper object that is used to render HTML elements.
Public propertyIsAjax (Inherited from WebPageRenderingBase.)
Public propertyIsPost (Inherited from WebPageRenderingBase.)
Public propertyLayout (Inherited from WebPageBase.)
Public propertyModelGets the Model property of the associated ViewDataDictionary object.
Public propertyOutput (Inherited from WebPageBase.)
Public propertyOutputStack (Inherited from WebPageBase.)
Public propertyPage (Inherited from WebPageBase.)
Public propertyPageContext (Inherited from WebPageRenderingBase.)
Public propertyPageData (Inherited from WebPageBase.)
Public propertyRequest (Inherited from WebPageRenderingBase.)
Public propertyResponse (Inherited from WebPageRenderingBase.)
Public propertyServer (Inherited from WebPageRenderingBase.)
Public propertySession (Inherited from WebPageRenderingBase.)
Public propertyTempDataGets the temporary data to pass to the view. (Inherited from WebViewPage.)
Public propertyTemplateInfo (Inherited from WebPageRenderingBase.)
Public propertyUICulture (Inherited from WebPageRenderingBase.)
Public propertyUrlGets or sets the URL of the rendered page. (Inherited from WebViewPage.)
Public propertyUrlData (Inherited from WebPageRenderingBase.)
Public propertyUser (Inherited from WebPageRenderingBase.)
Public propertyViewBagGets the view bag. (Inherited from WebViewPage.)
Public propertyViewContextGets or sets the information that is used to render the view. (Inherited from WebViewPage.)
Public propertyViewDataGets or sets a dictionary that contains data to pass between the controller and the view.
Public propertyVirtualPath (Inherited from WebPageExecutingBase.)

Protected methodConfigurePageSets the view context and view data for the page. (Inherited from WebViewPage.)
Public methodDefineSection (Inherited from WebPageBase.)
Public methodEquals (Inherited from Object.)
Public methodExecute (Inherited from WebPageExecutingBase.)
Public methodExecutePageHierarchyRuns the page hierarchy for the ASP.NET Razor execution pipeline. (Inherited from WebViewPage.)
Public methodExecutePageHierarchy(WebPageContext, TextWriter) (Inherited from WebPageBase.)
Public methodExecutePageHierarchy(WebPageContext, TextWriter, WebPageRenderingBase) (Inherited from WebPageBase.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHref (Inherited from WebPageRenderingBase.)
Public methodInitHelpersInitializes the AjaxHelper, HtmlHelper, and UrlHelper classes. (Overrides WebViewPage.InitHelpers.)
Protected methodInitializePage (Inherited from WebPageBase.)
Public methodIsSectionDefined (Inherited from WebPageBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNormalizePath (Inherited from WebPageExecutingBase.)
Public methodPopContext (Inherited from WebPageBase.)
Public methodPushContext (Inherited from WebPageBase.)
Public methodRenderBody (Inherited from WebPageBase.)
Public methodRenderPage (Inherited from WebPageBase.)
Public methodRenderSection(String) (Inherited from WebPageBase.)
Public methodRenderSection(String, Boolean) (Inherited from WebPageBase.)
Protected methodSetViewDataSets the view data. (Overrides WebViewPage.SetViewData(ViewDataDictionary).)
Public methodToString (Inherited from Object.)
Public methodWrite(HelperResult) (Inherited from WebPageBase.)
Public methodWrite(Object) (Inherited from WebPageBase.)
Public methodWriteLiteral (Inherited from WebPageBase.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.