The TextSkipInk.All
field is a member of the TextSkipInk
enumeration within the Sandbox.UI
namespace. It specifies that no glyphs should be overlapped by text decorations, effectively ensuring that all text decorations skip over the glyphs.
The TextSkipInk.All
field is a member of the TextSkipInk
enumeration within the Sandbox.UI
namespace. It specifies that no glyphs should be overlapped by text decorations, effectively ensuring that all text decorations skip over the glyphs.
Use TextSkipInk.All
when you want to ensure that text decorations, such as underlines, do not intersect with any glyphs in the text. This can be useful for maintaining readability and aesthetic consistency in UI text rendering.
// Example of using TextSkipInk.All in a UI component var textStyle = new TextStyle(); textStyle.TextDecorationSkipInk = TextSkipInk.All; // Apply the text style to a UI label var label = new Label(); label.Style = textStyle; label.Text = "This is a sample text with skip ink set to All.";