StyleSheetLocation Enum

Definition

Caution

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.

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

Fields

Name Value Description
NotSet 0

Default value. The location has not yet been determined.

ApplicationCache 1

The style sheet is stored in the Application Cache.

SessionState 2

The style sheet is stored in the current Session state.

PhysicalFile 3

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

Internal 4

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

None 5

Not currently used.

Remarks

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

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also