robot_2Generated
code_blocksInput

Description

The TextAlign.Auto field is part of the TextAlign enumeration within the Sandbox.UI namespace. This field is currently unused and does not have a specific function or behavior associated with it. It is included in the enumeration for potential future use or for completeness in the enumeration definition.

Usage

Since TextAlign.Auto is unused, it should not be relied upon for any text alignment functionality. Instead, use other members of the TextAlign enumeration such as TextAlign.Left, TextAlign.Center, or TextAlign.Right for aligning text within UI components.

Example

// Example of using TextAlign enumeration

// Align text to the left
var textAlign = TextAlign.Left;

// Align text to the center
var textAlign = TextAlign.Center;

// Align text to the right
var textAlign = TextAlign.Right;

// Note: TextAlign.Auto is unused and should not be used in practice.