Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Page Property
Collapse the table of content
Expand the table of content

WebPageBase.Page Property

Provides property-like access to page data that is shared between pages, layout pages, and partial pages.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public override Object Page { get; }

Property Value

Type: System.Object
An object that contains page data.

You can access data in the Page property using object dot syntax (for example, @Page.MyData). This property accesses the same page data as the PageData property, except that it lets you access it using property-like syntax.

Show:
© 2015 Microsoft