# MetricCardBadgePlacement

Badge placement used by metric visual blocks.

 Enum  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX.Visuals`

**Source**

[VisualFactModels.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/VisualFactModels.cs#L31)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Badge placement used by metric visual blocks.

## Inheritance

- Enum
- MetricCardBadgePlacement

## Usage

 Explore 5 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 3

- Property [MetricCard.BadgePlacement](/api/chartforgex-visualblocks-metriccard/#property-badgeplacement)
- Field [MetricCardBadgePlacement.TopLeft](/api/chartforgex-visualblocks-metriccardbadgeplacement/#field-topleft)
- Field [MetricCardBadgePlacement.TopRight](/api/chartforgex-visualblocks-metriccardbadgeplacement/#field-topright)

### Accepted by parameters 2

- Extension method [MetricCard.BadgePlacement](/api/chartforgex-visualblocks-metriccard/#extension-badgeplacement-chartforgex-visualblocks-metriccard-chartforgex-visualblocks-metriccardbadgeplacement) parameter `value`
- Method [MetricCardFluent.BadgePlacement](/api/chartforgex-visualblocks-metriccardfluent/#method-badgeplacement-chartforgex-visualblocks-metriccard-chartforgex-visualblocks-metriccardbadgeplacement) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const MetricCardBadgePlacement TopRight` [#](#field-topright) 

[VisualFactModels.cs:33](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/VisualFactModels.cs#L33)

Place the badge in the upper-right corner.

Value: `0`

 `public const MetricCardBadgePlacement TopLeft` [#](#field-topleft) 

[VisualFactModels.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/VisualFactModels.cs#L35)

Place the badge before the label in the upper-left corner.

Value: `1`

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