aspnet-devexpress-dot-web-dot-aspxwebcontrol-4b8e12cd.md
Gets or sets the name of the Theme to be globally applied to all DevExpress web controls across the entire web site.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public static string GlobalTheme { get; set; }
Public Shared Property GlobalTheme As String
| Type | Description |
|---|---|
| String |
A string value specifying the theme name.
|
Use the GlobalTheme property to apply the selected Theme to all DevExpress web controls within the web site. If the GlobalTheme property is not specified, it returns the theme Web.config option value.
Depending on your application needs, you can use the GlobalTheme property at different levels within your application. The main requirement is that a global theme should be explicitly assigned on executing each request.
Page Level
Application Level - in Global.asax
See Also