Description
The Overline
field is a member of the TextDecoration
enumeration within the Sandbox.UI
namespace. It represents a text decoration style where a line is drawn above the text. This is one of the possible values for the text-decoration
CSS property, allowing developers to apply an overline effect to UI text elements.
Usage
To use the Overline
text decoration, you can set it as a value for a text decoration property in your UI component styling. This can be done in a CSS-like manner within your UI code to visually distinguish text by placing a line above it.
Example
// Example of using TextDecoration.Overline in a UI component
var label = new Label();
label.Style.TextDecoration = TextDecoration.Overline;
label.Text = "This text has an overline.";