Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebViewPage<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 abstract class WebViewPage<TModel> : WebViewPage

Type Parameters

TModel

The type of the view data model.

NameDescription
System_CAPS_protmethodWebViewPage<TModel>()

Initializes a new instance of the WebViewPage<TModel> class.

NameDescription
System_CAPS_pubpropertyAjax

Gets or sets the AjaxHelper object that is used to render HTML markup using Ajax.

System_CAPS_pubpropertyApp

(Inherited from WebPageExecutingBase.)

System_CAPS_pubpropertyAppState

(Inherited from WebPageExecutingBase.)

System_CAPS_pubpropertyCache

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyContext

Gets the HttpContext object that is associated with the page.(Inherited from WebViewPage.)

System_CAPS_pubpropertyCulture

(Inherited from WebPageRenderingBase.)

System_CAPS_protpropertyDisplayMode

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyHtml

Gets or sets the HtmlHelper object that is used to render HTML elements.

System_CAPS_pubpropertyIsAjax

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyIsPost

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyLayout

(Inherited from WebPageBase.)

System_CAPS_pubpropertyModel

Gets the Model property of the associated ViewDataDictionary object.

System_CAPS_pubpropertyOutput

(Inherited from WebPageBase.)

System_CAPS_pubpropertyOutputStack

(Inherited from WebPageBase.)

System_CAPS_pubpropertyPage

(Inherited from WebPageBase.)

System_CAPS_pubpropertyPageContext

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyPageData

(Inherited from WebPageBase.)

System_CAPS_pubpropertyProfile

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyRequest

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyResponse

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyServer

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertySession

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyTempData

Gets the temporary data to pass to the view.(Inherited from WebViewPage.)

System_CAPS_pubpropertyTemplateInfo

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyUICulture

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyUrl

Gets or sets the URL of the rendered page.(Inherited from WebViewPage.)

System_CAPS_pubpropertyUrlData

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyUser

(Inherited from WebPageRenderingBase.)

System_CAPS_pubpropertyViewBag

Gets the view bag.(Inherited from WebViewPage.)

System_CAPS_pubpropertyViewContext

Gets or sets the information that is used to render the view.(Inherited from WebViewPage.)

System_CAPS_pubpropertyViewData

Gets or sets a dictionary that contains data to pass between the controller and the view.

System_CAPS_pubpropertyVirtualPath

(Inherited from WebPageExecutingBase.)

NameDescription
System_CAPS_protmethodBeginContext(Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodBeginContext(String, Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodBeginContext(TextWriter, Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodBeginContext(TextWriter, String, Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodConfigurePage(WebPageBase)

Sets the view context and view data for the page.(Inherited from WebViewPage.)

System_CAPS_protmethodCreatePageFromVirtualPath(String, HttpContextBase, Func<String, Boolean>, DisplayModeProvider, IDisplayMode)

(Inherited from WebPageBase.)

System_CAPS_pubmethodDefineSection(String, SectionWriter)

(Inherited from WebPageBase.)

System_CAPS_protmethodEndContext(Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodEndContext(String, Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodEndContext(TextWriter, Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodEndContext(TextWriter, String, Int32, Int32, Boolean)

(Inherited from WebPageExecutingBase.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecutePageHierarchy()

Runs the page hierarchy for the ASP.NET Razor execution pipeline.(Inherited from WebViewPage.)

System_CAPS_pubmethodExecutePageHierarchy(WebPageContext, TextWriter)

(Inherited from WebPageBase.)

System_CAPS_pubmethodExecutePageHierarchy(WebPageContext, TextWriter, WebPageRenderingBase)

(Inherited from WebPageBase.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetOutputWriter()

(Inherited from WebPageBase.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHref(String, Object[])

(Inherited from WebPageExecutingBase.)

System_CAPS_pubmethodInitHelpers()

Initializes the AjaxHelper, HtmlHelper, and UrlHelper classes.(Overrides WebViewPage.InitHelpers().)

System_CAPS_protmethodInitializePage()

(Inherited from WebPageBase.)

System_CAPS_pubmethodIsSectionDefined(String)

(Inherited from WebPageBase.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodNormalizeLayoutPagePath(String)

(Inherited from WebPageExecutingBase.)

System_CAPS_pubmethodNormalizePath(String)

(Inherited from WebPageExecutingBase.)

System_CAPS_pubmethodPopContext()

(Inherited from WebPageBase.)

System_CAPS_pubmethodPushContext(WebPageContext, TextWriter)

(Inherited from WebPageBase.)

System_CAPS_pubmethodRenderBody()

(Inherited from WebPageBase.)

System_CAPS_pubmethodRenderPage(String, Object[])

(Inherited from WebPageBase.)

System_CAPS_pubmethodRenderSection(String)

(Inherited from WebPageBase.)

System_CAPS_pubmethodRenderSection(String, Boolean)

(Inherited from WebPageBase.)

System_CAPS_protmethodSetViewData(ViewDataDictionary)

Sets the view data.(Overrides WebViewPage.SetViewData(ViewDataDictionary).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWrite(HelperResult)

(Inherited from WebPageBase.)

System_CAPS_pubmethodWrite(Object)

(Inherited from WebPageBase.)

System_CAPS_pubmethodWriteAttribute(String, PositionTagged<String>, PositionTagged<String>, AttributeValue[])

(Inherited from WebPageExecutingBase.)

System_CAPS_protmethodWriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[])

(Inherited from WebPageExecutingBase.)

System_CAPS_pubmethodWriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[])

(Inherited from WebPageExecutingBase.)

System_CAPS_pubmethodWriteLiteral(Object)

(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.

Return to top
Show:
© 2017 Microsoft