HiddenField::EnableTheming Property

 

Gets or sets a value indicating whether themes apply to this control.

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

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

Property Value

Type: System::Boolean

Always returns false to indicate that this control does not support themes.

Exception Condition
NotSupportedException

An attempt is made to set this property.

The HiddenField control does not support themes. This property has been overridden to always return false. If you attempt to set this property, a NotSupportedException exception is thrown.

.NET Framework
Available since 2.0
Return to top
Show: