MasterPage.ContentPlaceHolders Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of ContentPlaceHolder controls that the master page uses to define different content regions.
protected public:
property System::Collections::IList ^ ContentPlaceHolders { System::Collections::IList ^ get(); };
[System.ComponentModel.Browsable(false)]
protected internal System.Collections.IList ContentPlaceHolders { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ContentPlaceHolders : System.Collections.IList
Protected Friend ReadOnly Property ContentPlaceHolders As IList
Property Value
An IList of ContentPlaceHolder controls that the master page uses as placeholders for Content controls found in content pages.
- Attributes
Remarks
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.
Applies to
.NET