Class
VisualChromeTokens
ChartForgeX.Themes
Immutable per-mode tooltip and focus roles shared with report and grid hosts.
Inheritance
- object
- VisualChromeTokens
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property VisualDesignTokens.Chrome
- Property VisualThemeColors.Chrome
Accepted by parameters 1
- Method VisualChromeTokens.Equals
Constructors
public VisualChromeTokens(ChartColor surface, ChartColor text, ChartColor muted, ChartColor line, ChartColor focusRing, string shadow, double tooltipRadius = 6, double controlRadius = 4) #Creates tooltip colours, a CSS elevation and an independent focus ring.
Parameters
- surface ChartForgeX.Primitives.ChartColor
- text ChartForgeX.Primitives.ChartColor
- muted ChartForgeX.Primitives.ChartColor
- line ChartForgeX.Primitives.ChartColor
- focusRing ChartForgeX.Primitives.ChartColor
- shadow string
- tooltipRadius double = 6
- controlRadius double = 4
Methods
Equals 2 overloads
public bool Equals(VisualChromeTokens? other) #Compares the complete chrome contract.
Parameters
- other ChartForgeX.Themes.VisualChromeTokens?
Returns
boolpublic override bool Equals(object? obj) #Determines whether the specified object is equal to the current object.
Parameters
- obj object?
- The object to compare with the current object.
Returns
bool true if the specified object is equal to the current object; otherwise, false.public override int GetHashCode() #Serves as the default hash function.
Returns
int A hash code for the current object.