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.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
String | A string value specifying the font settings. |
Remarks
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