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 Friend ReadOnly Property ContentPlaceHolders As IList

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: