PagesSection.StyleSheetTheme Property

 

Gets or sets the name of an ASP.NET style sheet theme.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("styleSheetTheme", DefaultValue := "")>
Public Property StyleSheetTheme As String

Property Value

Type: System.String

The name of an ASP.NET style sheet theme.

The following code example shows how to use the StyleSheetTheme property.

' Get the current StyleSheetTheme property value.
Console.WriteLine( _
    "Current StyleSheetTheme value: '{0}'", _
    pagesSection.StyleSheetTheme)

' Set the StyleSheetTheme property to
' "MyCustomStyleSheetTheme".
pagesSection.StyleSheetTheme = "MyCustomStyleSheetTheme"

.NET Framework
Available since 2.0
Return to top
Show: