StyleSheetLocation Enumeration

StyleSheetLocation Enumeration

Specifies the type of location for the style sheet for a mobile control or page.

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

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

© 2016 Microsoft