WebApplicationStyleManager.EnableGroupUpperCase Property
Specifies whether or not the upper case is used for layout group captions in the new web UI.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the upper case is enabled for layout group captions; otherwise, false. |
Remarks
By default, in XAF ASP.NET Web Forms applications, the upper case is enabled for layout group captions. The following code snippet demonstrates how to disable it.
protected void Session_Start(Object sender, EventArgs e) {
//...
WebApplication.Instance.SwitchToNewStyle();
WebApplicationStyleManager.EnableGroupUpperCase = false;
WebApplication.Instance.Setup();
WebApplication.Instance.Start();
}
This property has effect when used before the application main page is shown. You can access it in the Session_Start method located in the Global.asax file, after the WebApplication.SwitchToNewStyle method is called.
The result is demonstrated in the image below.
Tip
You can also disable the upper case for the grid column, Tree List column, layout group, and navigation group captions at once, using the WebApplicationStyleManager.EnableUpperCase property.