# MetricCardDetail

A compact supporting metric rendered inside a MetricCard.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX.Visuals`

**Source**

[MetricCard.cs:287](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/MetricCard.cs#L287)

**Modifiers**

sealed

A compact supporting metric rendered inside a [MetricCard](/api/chartforgex-visualblocks-metriccard/).

## Inheritance

- object
- MetricCardDetail

## Usage

 Explore 1 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 1

- Property [MetricCard.Details](/api/chartforgex-visualblocks-metriccard/#property-details)

 Filter members   

    Show inherited   

 

## Constructors

 `public MetricCardDetail(string label, string value, Tone? tone = null)` [#](#constructor-ctor-string-string-nullable-chartforgex-tone) 

[MetricCard.cs:287](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/MetricCard.cs#L287)

Initializes a metric card detail.

Parameters

**label string required**

**value string required**

**tone ChartForgeX.Tone? = null optional**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Label { get; set; }` [#](#property-label) 

[MetricCard.cs:294](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/MetricCard.cs#L294)

Gets or sets the detail label.

 `public string Value { get; set; }` [#](#property-value) 

[MetricCard.cs:297](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/MetricCard.cs#L297)

Gets or sets the detail value.

 `public Tone Tone { get; set; }` [#](#property-tone) 

[MetricCard.cs:300](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/MetricCard.cs#L300)

Gets or sets the semantic status color for the detail marker.

<!-- PowerForge markdown artifact sha256:F0DDFE42BF2E05ED9AEEFDE35C11590A3DD8D0AF2CF66B4A84D9AD1F01C0C984 -->
