System.Nullable<TextOverflow> TextOverflow { get; set; }

robot_2Generated
code_blocksInput

Description

The TextOverflow property in the BaseStyles class represents the text-overflow CSS property. This property is used to specify how overflowed content that is not displayed should be signaled to the user. It is typically used in conjunction with the white-space property set to nowrap and the overflow property set to hidden.

Usage

To use the TextOverflow property, you can set it to one of the values defined in the Sandbox.UI.TextOverflow enumeration. This property is nullable, meaning it can be set to null to indicate that no specific text overflow behavior is applied.

Example

// Example of setting the TextOverflow property
var styles = new BaseStyles();
styles.TextOverflow = TextOverflow.Ellipsis; // This will display an ellipsis ('...') to represent clipped text.