Description
The Dashed
field is a member of the TextDecorationStyle
enumeration within the Sandbox.UI
namespace. It represents a text decoration style where the line is drawn as a series of dashes. This style can be used to apply a dashed line to text elements, similar to the text-decoration-style: dashed;
CSS property.
Usage
To use the Dashed
style, assign it to a text element's decoration style property. This can be useful for styling text in a user interface where a dashed line is desired for emphasis or design purposes.
Example
// Example of using TextDecorationStyle.Dashed
var textElement = new TextElement();
textElement.DecorationStyle = TextDecorationStyle.Dashed;
// This will render the text with a dashed underline or overline, depending on the decoration position.