Skip to content
ChartForgeX
Class

VisualChromeTokens

ChartForgeX.Themes

Namespace
ChartForgeX.Themes
Assembly
ChartForgeX
Implements
IEquatable<VisualChromeTokens>
Modifiers
sealed

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

Accepted by parameters 1

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 required
text ChartForgeX.Primitives.ChartColor required
muted ChartForgeX.Primitives.ChartColor required
line ChartForgeX.Primitives.ChartColor required
focusRing ChartForgeX.Primitives.ChartColor required
shadow string required
tooltipRadius double = 6 optional
controlRadius double = 4 optional

Methods

Equals 2 overloads
public bool Equals(VisualChromeTokens? other) #

Compares the complete chrome contract.

Parameters

other ChartForgeX.Themes.VisualChromeTokens? required

Returns

bool
public override bool Equals(object? obj) #

Determines whether the specified object is equal to the current object.

Parameters

obj object? required
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.

Properties

public ChartColor Surface { get; } #

Gets the tooltip surface.

public ChartColor Text { get; } #

Gets the tooltip text.

public ChartColor Muted { get; } #

Gets secondary tooltip text.

public ChartColor Line { get; } #

Gets the tooltip border.

public ChartColor FocusRing { get; } #

Gets the keyboard focus ring.

public string Shadow { get; } #

Gets the shared CSS tooltip shadow, including all elevation layers.

public double TooltipRadius { get; } #

Gets the overlay corner radius in logical pixels.

public double ControlRadius { get; } #

Gets the control corner radius in logical pixels.