Share via


PagesSection.StyleSheetTheme Proprietà

Definizione

Ottiene o imposta il nome di un tema di foglio di stile 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

Valore della proprietà

String

Nome di un tema di foglio di stile ASP.NET.

Attributi

Esempio

Nell'esempio di codice riportato di seguito viene illustrato come utilizzare la proprietà 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"

Si applica a

Vedi anche