# ChartStatePattern

Defines how marks of a state category are filled, so states that share a colour (for example the neutral "not observable", "unknown", and "could not evaluate")…

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartStatePattern.cs:7](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStatePattern.cs#L7)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines how marks of a state category are filled, so states that share a colour (for example the neutral "not observable", "unknown", and "could not evaluate") stay distinguishable without relying on colour.

## Inheritance

- Enum
- ChartStatePattern

## Usage

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

- Property [ChartStateCategory.Pattern](/api/chartforgex-core-chartstatecategory/#property-pattern)
- Field [ChartStatePattern.CrossHatched](/api/chartforgex-core-chartstatepattern/#field-crosshatched)
- Field [ChartStatePattern.Hatched](/api/chartforgex-core-chartstatepattern/#field-hatched)
- Field [ChartStatePattern.Outlined](/api/chartforgex-core-chartstatepattern/#field-outlined)
- Field [ChartStatePattern.Solid](/api/chartforgex-core-chartstatepattern/#field-solid)

### Accepted by parameters 1

- Constructor [ChartStateCategory.ChartStateCategory](/api/chartforgex-core-chartstatecategory/#constructor-ctor-string-string-chartforgex-primitives-chartcolor-chartforgex-core-chartstatepattern-chartforgex-core-chartstateemphasis) parameter `pattern`

 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 ChartStatePattern Solid` [#](#field-solid) 

[ChartStatePattern.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStatePattern.cs#L9)

A solid fill in the category colour.

Value: `0`

 `public const ChartStatePattern Hatched` [#](#field-hatched) 

[ChartStatePattern.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStatePattern.cs#L12)

The category colour with diagonal lines in the colour behind the marks (see [ChartOptions.MarkBackdrop](/api/chartforgex-core-chartoptions/)).

Value: `1`

 `public const ChartStatePattern CrossHatched` [#](#field-crosshatched) 

[ChartStatePattern.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStatePattern.cs#L15)

The category colour with crossed diagonal lines in the colour behind the marks (see [ChartOptions.MarkBackdrop](/api/chartforgex-core-chartoptions/)).

Value: `2`

 `public const ChartStatePattern Outlined` [#](#field-outlined) 

[ChartStatePattern.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartStatePattern.cs#L18)

A dashed outline in the category colour around a faint tint of it.

Value: `3`

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