PagesSection.MasterPageFile Property
.NET Framework (current version)
Gets or sets a reference to the master page for the application.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("masterPageFile", DefaultValue = "")] public string MasterPageFile { get; set; }
The value of this property can be either a relative or an absolute path.
The following code example shows how to use the MasterPageFile property.
.NET Framework
Available since 2.0
Available since 2.0
Show: