Back to Devexpress

ASPxWebControl.GlobalTheme Property

aspnet-devexpress-dot-web-dot-aspxwebcontrol-4b8e12cd.md

latest2.0 KB
Original Source

ASPxWebControl.GlobalTheme Property

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

Declaration

csharp
public static string GlobalTheme { get; set; }
vb
Public Shared Property GlobalTheme As String

Property Value

TypeDescription
String

A string value specifying the theme name.

|

Remarks

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

GlobalStyleSheetTheme

Theme

Theme Name

Appearance Customization - Theming

ASPxWebControl Class

ASPxWebControl Members

DevExpress.Web Namespace