# TextCaseTransform

Defines culture-aware casing applied for display and measurement.

 Enum  

`ChartForgeX.Typography`

**Namespace**

`ChartForgeX.Typography`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Defines culture-aware casing applied for display and measurement.

## Inheritance

- Enum
- TextCaseTransform

## Usage

 Explore 13 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 8

- Field [TextCaseTransform.Lowercase](/api/chartforgex-typography-textcasetransform/#field-lowercase)
- Field [TextCaseTransform.None](/api/chartforgex-typography-textcasetransform/#field-none)
- Field [TextCaseTransform.SentenceCase](/api/chartforgex-typography-textcasetransform/#field-sentencecase)
- Field [TextCaseTransform.TitleCase](/api/chartforgex-typography-textcasetransform/#field-titlecase)
- Field [TextCaseTransform.ToggleCase](/api/chartforgex-typography-textcasetransform/#field-togglecase)
- Field [TextCaseTransform.Uppercase](/api/chartforgex-typography-textcasetransform/#field-uppercase)
- Property [TextStyle.TextCase](/api/chartforgex-typography-textstyle/#property-textcase)
- Property [TextStyleOverride.TextCase](/api/chartforgex-typography-textstyleoverride/#property-textcase)

### Accepted by parameters 5

- Method [TextCaseTransformer.Apply](/api/chartforgex-typography-textcasetransformer/#method-apply-string-chartforgex-typography-textcasetransform-globalization-cultureinfo) parameter `transform`
- Extension method [TextStyle.TextCase](/api/chartforgex-typography-textstyle/#extension-textcase-chartforgex-typography-textstyle-chartforgex-typography-textcasetransform) parameter `value`
- Method [TextStyleFluent.TextCase](/api/chartforgex-typography-textstylefluent/#method-textcase-chartforgex-typography-textstyle-chartforgex-typography-textcasetransform) parameter `value`
- Extension method [TextStyleOverride.TextCase](/api/chartforgex-typography-textstyleoverride/#extension-textcase-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textcasetransform) parameter `value`
- Method [TextStyleOverrideFluent.TextCase](/api/chartforgex-typography-textstyleoverridefluent/#method-textcase-chartforgex-typography-textstyleoverride-nullable-chartforgex-typography-textcasetransform) 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 TextCaseTransform None` [#](#field-none) 

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

Preserve supplied text.

Value: `0`

 `public const TextCaseTransform Uppercase` [#](#field-uppercase) 

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

Convert cased characters to uppercase.

Value: `1`

 `public const TextCaseTransform Lowercase` [#](#field-lowercase) 

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

Convert cased characters to lowercase.

Value: `2`

 `public const TextCaseTransform TitleCase` [#](#field-titlecase) 

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

Capitalize words.

Value: `3`

 `public const TextCaseTransform SentenceCase` [#](#field-sentencecase) 

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

Lowercase text and capitalize the first cased character of each sentence.

Value: `4`

 `public const TextCaseTransform ToggleCase` [#](#field-togglecase) 

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

Swap uppercase and lowercase characters.

Value: `5`

<!-- PowerForge markdown artifact sha256:58AE90526EDF3049EC1A0C4E450208A3465B95EFCC0F7E999D4D1B3BADC76E36 -->
