WebApplicationStyleManager.EnableUpperCase Property

Specifies whether or not the upper case is used in labels and captions in the new web UI.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.1.dll

Declaration

public static bool EnableUpperCase { get; set; }
Public Shared Property EnableUpperCase As Boolean

Property Value

Type Description
Boolean

true, if the upper case is enabled in labels and captions; otherwise, false.

By default, in XAF ASP.NET applications, the upper case is enabled in labels and captions. The following code snippet demonstrates how to disable it.

protected void Session_Start(Object sender, EventArgs e) {
    //...
    WebApplication.Instance.SwitchToNewStyle();
    WebApplicationStyleManager.EnableUpperCase = 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.

EnableUpperCase

Alternatively, you can use the following properties to disable upper case for grid column, layout group and navigation group captions, individually.

See Also