MobilePage.StyleSheetTheme Property


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the name of the style sheet applied to this page. 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 string StyleSheetTheme { get; set; }

Property Value

Type: System.String


Exception Condition

An attempt was made to set this property. Themes are not supported on Mobile Web Forms pages.

This member overrides Page.StyleSheetTheme to prevent themes from being changed from the default. This is because themes are not supported on ASP.NET Mobile Web Forms pages.

.NET Framework
Available since 2.0
Return to top