ContentPlaceHolders Property
Collapse the table of content
Expand the table of content

MasterPage.ContentPlaceHolders Property

 

Gets a list of ContentPlaceHolder controls that the master page uses to define different content regions.

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

[BrowsableAttribute(false)]
protected internal IList ContentPlaceHolders { get; }

Property Value

Type: System.Collections.IList

An IList of ContentPlaceHolder controls that the master page uses as placeholders for Content controls found in content pages.

Derived master page classes access the ContentPlaceHolders property to list the current ContentPlaceHolder controls that are contained by the master. Derived types do not typically override the ContentPlaceHolders property.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft