MasterPage::ContentPlaceHolders Property
.NET Framework (current version)
Gets a list of ContentPlaceHolder controls that the master page uses to define different content regions.
Assembly: System.Web (in System.Web.dll)
public protected: [BrowsableAttribute(false)] property IList^ ContentPlaceHolders { IList^ 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
Available since 2.0
Show: