WebPageContext 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.
Contains data that is used by a WebPage object to reference details about the web application, the current HTTP request, the current execution context, and page-rendering data.
public class WebPageContext
type WebPageContext = class
Public Class WebPageContext
- Inheritance
-
WebPageContext
Constructors
WebPageContext() |
Initializes a new instance of the WebPageContext class. |
WebPageContext(HttpContextBase, WebPageRenderingBase, Object) |
Initializes a new instance of the class by using the specified context, page, and model. |
Properties
Current |
Gets a reference to the current WebPageContext object that is associated with a page. |
Model |
Gets the model that is associated with a page. |
Page |
Gets the WebPageRenderingBase object that is associated with a page. |
PageData |
Gets the page data that is shared between pages, layout pages, and partial pages. |