MobileControl.EnableTheming Property


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

Gets a value indicating whether themes apply to this control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

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

public override sealed bool EnableTheming { get; set; }

Property Value

Type: System.Boolean

False in all cases.

Exception Condition

An attempt to set the EnableTheming property is made.

The MobileControl class does not support theming. If an attempt to set the EnableTheming property is made, a NotSupportedException exception is thrown.

.NET Framework
Available since 2.0

MobileControl Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls

Return to top