WebViewPage<TModel> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax.
public abstract class WebViewPage<TModel> : System.Web.Mvc.WebViewPage
type WebViewPage<'Model> = class
inherit WebViewPage
Public MustInherit Class WebViewPage(Of TModel)
Inherits WebViewPage
Type Parameters
- TModel
The type of the view data model.
- Inheritance
Constructors
WebViewPage<TModel>() |
Initializes a new instance of the WebViewPage<TModel> class. |
Properties
Ajax |
Gets or sets the AjaxHelper object that is used to render HTML markup using Ajax. |
Context |
Gets the HttpContext object that is associated with the page. (Inherited from WebViewPage) |
Html |
Gets or sets the HtmlHelper object that is used to render HTML elements. |
Model |
Gets the Model property of the associated ViewDataDictionary object. |
TempData |
Gets the temporary data to pass to the view. (Inherited from WebViewPage) |
Url |
Gets or sets the URL of the rendered page. (Inherited from WebViewPage) |
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. |
Methods
ConfigurePage(WebPageBase) |
Sets the view context and view data for the page. (Inherited from WebViewPage) |
ExecutePageHierarchy() |
Runs the page hierarchy for the ASP.NET Razor execution pipeline. (Inherited from WebViewPage) |
InitHelpers() |
Initializes the AjaxHelper, HtmlHelper, and UrlHelper classes. |
SetViewData(ViewDataDictionary) |
Sets the view data. |