System.Web.UI.Control.EnableTheming Property

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

Syntax

[System.ComponentModel.DefaultValue(true)]
[System.Web.UI.Themeable(false)]
[System.ComponentModel.Browsable(false)]
public virtual bool EnableTheming { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Control.EnableTheming property indicates whether themes are enabled for a specified control. When the Control.EnableTheming property is true, the application's theme directory is searched for control skins to apply. If no skin for the particular control exists in the theme directory, skins are not applied.

When the Control.EnableTheming property is false, the theme directory is not searched and the content of the Control.SkinID property is not used.

Themes can be enabled at the page, container, or control level. A control can override the Control.EnableTheming value set by its parent control, or by the containing page.

Requirements

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