Skip to main content

ASPxWebControl.GlobalThemeFont Property

Gets or sets the font settings of the theme to be globally applied to all DevExpress web controls across a web page or entire web site.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public static string GlobalThemeFont { get; set; }

Property Value

Type Description

A string value specifying the font settings.


Use the GlobalThemeFont property to specify the font settings of the Theme to be applied to all DevExpress web controls within the web site.

Depending on your application needs, you can use the GlobalThemeFont property at different levels within your application.

  • Page Level

    protected void Page_PreInit(object sender, EventArgs e){
            DevExpress.Web.ASPxWebControl.GlobalThemeFont = "30px 'Callibri'";
  • Application Level - in Global.asax

    protected void Application_PreRequestHandlerExecute(object sender, EventArgs e) {
                DevExpress.Web.ASPxWebControl.GlobalThemeFont = "30px 'Callibri'";

See Changing Theme Base Color and Font Settings for more information.

See Also