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 override bool EnableTheming { get; set; }

Property Value

Type: System.Boolean

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

Exception Condition

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