Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

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.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public static bool EnableUpperCase { get; set; }

Property Value

Type Description
Boolean

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

Remarks

By default, in XAF ASP.NET Web Forms 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