MobileControl.EnableTheming Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 www.asp.net/mobile 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
NotSupportedException

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
Show: