Official Content

Shows text in All Caps.

Values

none
uppercase

Scope

Generators: Android
Level: Design System Style Class

Description

It sets whether the text is shown using all capital letters or not. Therefore, when the property is set to "uppercase", all letters are capitalized, and when the property is set to "none", the text appears as it was written or stored.

Runtime/Design time

This property applies only at design time.

Samples

Consider a Panel object that contains a button with its Caption property = “All Caps”.

The button Class property is set to a certain Design System Object class (Button).

text-transform property sample - Class prop defined v18u7

Suppose your Knowledge Base is named "BillingSystem". Therefore, a predefined Design System object (DSO) is created with the same name.

The Styles tab of the "BillingSystem" DSO contains code as follows:

styles BillingSystem {
@import GeneXusUnanimo.UnanimoWeb;
}

Define there a class named "Button" with its text-transform property set to uppercase.

styles BillingSystem {
@import GeneXusUnanimo.UnanimoWeb;
   .Button
    {
        text-transform: uppercase;
    }
}

Build the Panel and run it to see the button's caption shown in capital letters.

How to apply changes

To apply the corresponding changes when the property value is configured, Build the Main Object.

Availability

This property is available since GeneXus 18 Upgrade 7.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant