PagesSection.StyleSheetTheme Свойство

Определение

Возвращает или задает имя темы таблицы стилей 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

Значение свойства

String

Имя темы таблицы стилей ASP.NET.

Атрибуты

Примеры

В следующем примере кода показано, как использовать свойство 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"

Применяется к

См. также раздел