Description
The Lowercase
field is a member of the TextTransform
enumeration within the Sandbox.UI
namespace. It is used to specify that all characters in a text element should be converted to lowercase. This is typically used in UI components to control the text appearance by applying CSS-like transformations.
Usage
To use the Lowercase
text transformation, assign it to a UI component's text transformation property. This will ensure that all text within the component is displayed in lowercase.
Example
// Example of using TextTransform.Lowercase in a UI component
var label = new Label();
label.Text = "Hello World!";
label.TextTransform = TextTransform.Lowercase;
// The label will display: "hello world!"