Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StyleSheetLocation Enumeration

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 www.asp.net/mobile 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 http://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum StyleSheetLocation

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

.NET Framework

Supported in: 3.5, 3.0, 2.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4
Show:
© 2015 Microsoft