Share via


Themes.CurrentTheme Property

Gets or sets the current theme.

Namespace:  Microsoft.Web.Helpers
Assembly:  Microsoft.Web.Helpers (in Microsoft.Web.Helpers.dll)

Syntax

'Declaration
Public Shared Property CurrentTheme As String
    Get
    Set
'Usage
Dim value As String

value = Themes.CurrentTheme

Themes.CurrentTheme = value
public static string CurrentTheme { get; set; }
public:
static property String^ CurrentTheme {
    String^ get ();
    void set (String^ value);
}
static function get CurrentTheme () : String
static function set CurrentTheme (value : String)

Property Value

Type: System.String
The name of the current theme.

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

Themes Class

Microsoft.Web.Helpers Namespace