StyleSheetLocation StyleSheetLocation StyleSheetLocation StyleSheetLocation Enum



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 Mobile Apps & Sites with ASP.NET.

public enum class StyleSheetLocation
[System.Obsolete("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
type StyleSheetLocation = 
Public Enum StyleSheetLocation


ApplicationCache ApplicationCache ApplicationCache ApplicationCache 1

The style sheet is stored in the Application Cache.

Internal Internal Internal Internal 4

The style sheet is a set of styles within the current source file (either .aspx or .ascx).

None None None None 5

Not currently used.

NotSet NotSet NotSet NotSet 0

Default value. The location has not yet been determined.

PhysicalFile PhysicalFile PhysicalFile PhysicalFile 3

The style sheet is an external physical file, such as MyStylesheet.css.

SessionState SessionState SessionState SessionState 2

The style sheet is stored in the current Session state.


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

Applies to

See also