This documentation is archived and is not being maintained.

StyleSheetLocation Enumeration

Note: This API is now obsolete.

Specifies the type of location for the style sheet for a mobile control or page. For information about how to develop ASP.NET mobile applications, see the Web site.

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

[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see")]
public enum StyleSheetLocation

Member nameDescription
NotSetDefault value. The location has not yet been determined.
ApplicationCacheThe style sheet is stored in the Application Cache.
SessionStateThe style sheet is stored in the current Session state.
PhysicalFileThe style sheet is an external physical file, such as MyStylesheet.css.
InternalThe style sheet is a set of styles within the current source file (either .aspx or .ascx).
NoneNot currently used.

The StyleSheetLocation enumeration is used by classes in the System.Web.UI.MobileControls.Adapters.XhtmlAdapters namespace to facilitate creating XHTML markup.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Obsolete (compiler warning) in 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.