HiddenField.SkinID Property


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

Gets or sets the skin to apply to the control.

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

public override string SkinID { get; set; }

Property Value

Type: System.String

Always returns an empty string ("") to indicate that themes are not supported.

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 an empty string. If you attempt to set this property, a NotSupportedException is thrown.

.NET Framework
Available since 2.0
Return to top