MasterPage::ContentPlaceHolders Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

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
Return to top
Show: