System.Web 2.0.0.0 System.Web.UI.Control System.Web.UI.INamingContainer System.Web.UI.ControlBuilder(typeof(System.Web.UI.WebControls.ContentPlaceHolderBuilder)) System.Web.UI.ToolboxData("<;{0}:ContentPlaceHolder runat=&quot;server&quot;></{0}:ContentPlaceHolder>") System.ComponentModel.Designer("System.Web.UI.Design.WebControls.ContentPlaceHolderDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner") System.ComponentModel.ToolboxItemFilter("System.Web.UI", System.ComponentModel.ToolboxItemFilterType.Allow) System.ComponentModel.ToolboxItemFilter("Microsoft.VisualStudio.Web.WebForms.MasterPageWebFormDesigner", System.ComponentModel.ToolboxItemFilterType.Require)

A control defines a relative region for content in a master page, and renders all text, markup, and server controls from a related control found in a content page.

A control is associated with a using its property. Set the property to the value of the property of the related control in a master page. More than one can be declared in a master page.

Within a content page, only one control can supply the content for a in the master page. However, in each content page that uses a master page, you can have separate controls associated with the . For example, you can define the for the page title in a master page. For each content page that uses the master page, you can add a control that supplies the text and markup for the page title.

For XHTML compliance, an empty title element is created if a title has not been defined or cannot be found.

You can specify default content placed within the control tags, but this content is replaced by any content in an associated content page.

For more information about master pages and content pages, see ASP.NET Master Pages.

## Declarative Syntax

`<asp: ContentPlaceHolder EnableViewState="True|False" ID="string" OnDataBinding="DataBinding event handler" OnDisposed="Disposed event handler" OnInit="Init event handler" OnLoad="Load event handler" OnPreRender="PreRender event handler" OnUnload="Unload event handler" runat="server" Visible="True|False" > <!-- child controls --> </asp:ContentPlaceHolder>`

Defines a region for content in an ASP.NET master page.

- Constructor
  To be added.

  Initializes a new instance of the class.

  2.0.0.0