Struct TooltipLine
Represents a single line of tooltip content with formatting and priority-based ordering.
public struct TooltipLine : IComparable<TooltipLine>
- Implements
- Inherited Members
Fields
Color
The color to apply. Supports hex with # prefix (e.g., "#f5ad6eFF") or named colors (e.g., "white"). Null or empty means no color wrapper is applied.
public string Color
Field Value
FontSize
The font size for this line (e.g., "120%", "14"). Null or empty for default.
public string FontSize
Field Value
IsBold
Whether this line should be bold.
public bool IsBold
Field Value
Priority
The sort priority for this line. Lower values appear first.
public int Priority
Field Value
Text
The text content of this line. May contain rich text tags.
public string Text
Field Value
Methods
CompareTo(TooltipLine)
Sorts by priority (lowest first).
public int CompareTo(TooltipLine other)
Parameters
otherTooltipLine