Export (0) Print
Expand All

WebViewPage 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 ref class WebViewPage abstract : public WebPageBase, 
	IViewDataContainer

The WebViewPage type exposes the following members.

  NameDescription
Protected methodWebViewPageInitializes a new instance of the WebViewPage class.
Top

  NameDescription
Public propertyAjaxGets or sets the AjaxHelper object that is used to render HTML 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. (Overrides WebPageExecutingBase::Context.)
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.
Public propertyTemplateInfo (Inherited from WebPageRenderingBase.)
Public propertyUICulture (Inherited from WebPageRenderingBase.)
Public propertyUrlGets or sets the URL of the rendered page.
Public propertyUrlData (Inherited from WebPageRenderingBase.)
Public propertyUser (Inherited from WebPageRenderingBase.)
Public propertyViewBagGets the view bag.
Public propertyViewContextGets or sets the information that is used to render the view.
Public propertyViewDataGets or sets a dictionary that contains data to pass between the controller and the view.
Public propertyVirtualPath (Inherited from WebPageExecutingBase.)
Top

  NameDescription
Protected methodConfigurePageSets the view context and view data for the page. (Overrides WebPageBase::ConfigurePage(WebPageBase).)
Public methodDefineSection (Inherited from WebPageBase.)
Public methodEquals (Inherited from Object.)
Public methodExecute (Inherited from WebPageExecutingBase.)
Public methodExecutePageHierarchy()Runs the page hierarchy for the ASP.NET Razor execution pipeline. (Overrides WebPageBase::ExecutePageHierarchy().)
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.
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.
Public methodToString (Inherited from Object.)
Public methodWrite(HelperResult) (Inherited from WebPageBase.)
Public methodWrite(Object) (Inherited from WebPageBase.)
Public methodWriteLiteral (Inherited from WebPageBase.)
Top

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