Modifica

Condividi tramite


MasterPage.ContentPlaceHolders Property

Definition

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