DataSourceControl::EnableTheming Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value indicating whether this control supports themes.

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

public:
[BrowsableAttribute(false)]
property bool EnableTheming {
	virtual bool get() override;
	virtual void set(bool value) override;
}

Property Value

Type: System::Boolean

false in all cases.

Exception Condition
NotSupportedException

An attempt was made to set the value of the EnableTheming property.

Because the DataSourceControl control has no visual rendering, it does not support themes.

.NET Framework
Available since 2.0
Return to top
Show: