Share via


PagesSection.StyleSheetTheme Propiedad

Definición

Obtiene o establece el nombre de un tema de hoja de estilos de ASP.NET.

public:
 property System::String ^ StyleSheetTheme { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("styleSheetTheme", DefaultValue="")]
public string StyleSheetTheme { get; set; }
[<System.Configuration.ConfigurationProperty("styleSheetTheme", DefaultValue="")>]
member this.StyleSheetTheme : string with get, set
Public Property StyleSheetTheme As String

Valor de propiedad

String

Nombre de un tema de hoja de estilos de ASP.NET.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo utilizar la propiedad StyleSheetTheme.

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

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

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

Se aplica a

Consulte también