# TextDecorationStyle

Defines the line pattern used for underline and strikethrough decorations.

 Enum  

`ChartForgeX.Typography`

**Namespace**

`ChartForgeX.Typography`

**Assembly**

`ChartForgeX`

**Source**

[TextFormatting.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L8)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines the line pattern used for underline and strikethrough decorations.

## Inheritance

- Enum
- TextDecorationStyle

## Usage

 Explore 18 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 10

- Field [TextDecorationStyle.Dashed](/api/chartforgex-typography-textdecorationstyle/#field-dashed)
- Field [TextDecorationStyle.Dotted](/api/chartforgex-typography-textdecorationstyle/#field-dotted)
- Field [TextDecorationStyle.Double](/api/chartforgex-typography-textdecorationstyle/#field-double)
- Field [TextDecorationStyle.None](/api/chartforgex-typography-textdecorationstyle/#field-none)
- Field [TextDecorationStyle.Single](/api/chartforgex-typography-textdecorationstyle/#field-single)
- Field [TextDecorationStyle.Wavy](/api/chartforgex-typography-textdecorationstyle/#field-wavy)
- Property [TextStyle.StrikethroughStyle](/api/chartforgex-typography-textstyle/#property-strikethroughstyle)
- Property [TextStyle.UnderlineStyle](/api/chartforgex-typography-textstyle/#property-underlinestyle)
- Property [TextStyleOverride.StrikethroughStyle](/api/chartforgex-typography-textstyleoverride/#property-strikethroughstyle)
- Property [TextStyleOverride.UnderlineStyle](/api/chartforgex-typography-textstyleoverride/#property-underlinestyle)

### Accepted by parameters 8

- Extension method [TextStyle.StrikethroughStyle](/api/chartforgex-typography-textstyle/#extension-strikethroughstyle-chartforgex-typography-textstyle-chartforgex-typography-textdecorationstyle) parameter `value`
- Extension method [TextStyle.UnderlineStyle](/api/chartforgex-typography-textstyle/#extension-underlinestyle-chartforgex-typography-textstyle-chartforgex-typography-textdecorationstyle) parameter `value`
- Method [TextStyleFluent.StrikethroughStyle](/api/chartforgex-typography-textstylefluent/#method-strikethroughstyle-chartforgex-typography-textstyle-chartforgex-typography-textdecorationstyle) parameter `value`
- Method [TextStyleFluent.UnderlineStyle](/api/chartforgex-typography-textstylefluent/#method-underlinestyle-chartforgex-typography-textstyle-chartforgex-typography-textdecorationstyle) parameter `value`
- Extension method [TextStyleOverride.StrikethroughStyle](/api/chartforgex-typography-textstyleoverride/#extension-strikethroughstyle-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textdecorationstyle) parameter `value`
- Extension method [TextStyleOverride.UnderlineStyle](/api/chartforgex-typography-textstyleoverride/#extension-underlinestyle-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textdecorationstyle) parameter `value`
- Method [TextStyleOverrideFluent.StrikethroughStyle](/api/chartforgex-typography-textstyleoverridefluent/#method-strikethroughstyle-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textdecorationstyle) parameter `value`
- Method [TextStyleOverrideFluent.UnderlineStyle](/api/chartforgex-typography-textstyleoverridefluent/#method-underlinestyle-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textdecorationstyle) 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 TextDecorationStyle None` [#](#field-none) 

[TextFormatting.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L10)

No decoration line.

Value: `0`

 `public const TextDecorationStyle Single` [#](#field-single) 

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

One solid line.

Value: `1`

 `public const TextDecorationStyle Double` [#](#field-double) 

[TextFormatting.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L14)

Two parallel solid lines.

Value: `2`

 `public const TextDecorationStyle Dotted` [#](#field-dotted) 

[TextFormatting.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L16)

A dotted line.

Value: `3`

 `public const TextDecorationStyle Dashed` [#](#field-dashed) 

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

A dashed line.

Value: `4`

 `public const TextDecorationStyle Wavy` [#](#field-wavy) 

[TextFormatting.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Typography/TextFormatting.cs#L20)

A wavy line.

Value: `5`

<!-- PowerForge markdown artifact sha256:7DDCB302F8FDB4A680BDC95D34FA9E23AF9A564B6FD8BE0C37ADADEAF4A2AD61 -->
