PagesSection.StyleSheetTheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of an ASP.NET style sheet theme.
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
Property Value
The name of an ASP.NET style sheet theme.
- Attributes
Examples
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.
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"
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.