WebViewPage 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 _
Inherits WebPageBase _
Implements IViewDataContainer
'Usage
Dim instance As WebViewPage
public abstract class WebViewPage : WebPageBase,
IViewDataContainer
public ref class WebViewPage abstract : public WebPageBase,
IViewDataContainer
public abstract class WebViewPage extends WebPageBase implements IViewDataContainer
The WebViewPage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebViewPage | Initializes a new instance of the WebViewPage class. |
Top
Properties
Name | Description | |
---|---|---|
Ajax | Gets or sets the AjaxHelper object that is used to render HTML 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. (Overrides WebPageExecutingBase.Context.) | |
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. | |
TemplateInfo | (Inherited from WebPageRenderingBase.) | |
UICulture | (Inherited from WebPageRenderingBase.) | |
Url | Gets or sets the URL of the rendered page. | |
UrlData | (Inherited from WebPageRenderingBase.) | |
User | (Inherited from WebPageRenderingBase.) | |
ViewBag | Gets the view bag. | |
ViewContext | Gets or sets the information that is used to render the view. | |
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.