WebViewPage<TModel> Class
Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax.
Inheritance Hierarchy
System.Object
System.Web.WebPages.WebPageExecutingBase
System.Web.WebPages.WebPageRenderingBase
System.Web.WebPages.WebPageBase
System.Web.Mvc.WebViewPage
System.Web.Mvc.WebViewPage<TModel>
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public MustInherit Class WebViewPage(Of TModel) _
Inherits WebViewPage
'Usage
Dim instance As WebViewPage(Of TModel)
public abstract class WebViewPage<TModel> : WebViewPage
generic<typename TModel>
public ref class WebViewPage abstract : public WebViewPage
JScript does not support generic types or methods.
Type Parameters
- TModel
The type of the view data model.
The WebViewPage<TModel> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebViewPage<TModel> | Initializes a new instance of the WebViewPage<TModel> class. |
Top
Properties
Name | Description | |
---|---|---|
Ajax | Gets or sets the AjaxHelper object that is used to render HTML markup using Ajax. | |
App | (Inherited from WebPageExecutingBase.) | |
AppState | (Inherited from WebPageExecutingBase.) | |
Cache | (Inherited from WebPageRenderingBase.) | |
Context | Gets the HttpContext object that is associated with the page. (Inherited from WebViewPage.) | |
Culture | (Inherited from WebPageRenderingBase.) | |
Html | Gets or sets the HtmlHelper object that is used to render HTML elements. | |
IsAjax | (Inherited from WebPageRenderingBase.) | |
IsPost | (Inherited from WebPageRenderingBase.) | |
Layout | (Inherited from WebPageBase.) | |
Model | Gets the Model property of the associated ViewDataDictionary object. | |
Output | (Inherited from WebPageBase.) | |
OutputStack | (Inherited from WebPageBase.) | |
Page | (Inherited from WebPageBase.) | |
PageContext | (Inherited from WebPageRenderingBase.) | |
PageData | (Inherited from WebPageBase.) | |
Request | (Inherited from WebPageRenderingBase.) | |
Response | (Inherited from WebPageRenderingBase.) | |
Server | (Inherited from WebPageRenderingBase.) | |
Session | (Inherited from WebPageRenderingBase.) | |
TempData | Gets the temporary data to pass to the view. (Inherited from WebViewPage.) | |
TemplateInfo | (Inherited from WebPageRenderingBase.) | |
UICulture | (Inherited from WebPageRenderingBase.) | |
Url | Gets or sets the URL of the rendered page. (Inherited from WebViewPage.) | |
UrlData | (Inherited from WebPageRenderingBase.) | |
User | (Inherited from WebPageRenderingBase.) | |
ViewBag | Gets the view bag. (Inherited from WebViewPage.) | |
ViewContext | Gets or sets the information that is used to render the view. (Inherited from WebViewPage.) | |
ViewData | Gets or sets a dictionary that contains data to pass between the controller and the view. | |
VirtualPath | (Inherited from WebPageExecutingBase.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.