PagesSection::UserControlBaseType Property

 

Gets or sets a value that specifies a code-behind class that user controls inherit by default.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
[ConfigurationPropertyAttribute("userControlBaseType", DefaultValue = "System.Web.UI.UserControl")]
property String^ UserControlBaseType {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A string that specifies a code-behind file that user controls inherit by default.

The following code example shows how to use the UserControlBaseType property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: