# TerminalStyleOptions

Terminal-specific cursor and title-bar treatments, independent of shared colors and fonts.

 Class  

`ChartForgeX.Terminal`

**Namespace**

`ChartForgeX.Terminal`

**Assembly**

`ChartForgeX.Stories`

**Source**

[TerminalStyleOptions.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStyleOptions.cs#L16)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Terminal-specific cursor and title-bar treatments, independent of shared colors and fonts.

## Inheritance

- object
- TerminalStyleOptions

## Usage

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

- Property [VisualStoryReplaySurface.Style](/api/chartforgex-stories-visualstoryreplaysurface/#property-style)
- Property [TerminalStory.Style](/api/chartforgex-terminal-terminalstory/#property-style)
- Extension method [TerminalStyleOptions.Cursor](/api/chartforgex-terminal-terminalstyleoptions/#extension-cursor-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor)
- Extension method [TerminalStyleOptions.HeaderBackground](/api/chartforgex-terminal-terminalstyleoptions/#extension-headerbackground-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor)
- Method [TerminalStyleOptions.Clone](/api/chartforgex-terminal-terminalstyleoptions/#method-clone)
- Method [TerminalStyleOptionsFluent.Cursor](/api/chartforgex-terminal-terminalstyleoptionsfluent/#method-cursor-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor)
- Method [TerminalStyleOptionsFluent.HeaderBackground](/api/chartforgex-terminal-terminalstyleoptionsfluent/#method-headerbackground-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor)
- Property [TerminalTab.Style](/api/chartforgex-terminal-terminaltab/#property-style)

### Accepted by parameters 15

- Constructor [VisualStoryReplaySurface.VisualStoryReplaySurface](/api/chartforgex-stories-visualstoryreplaysurface/#constructor-ctor-chartforgex-stories-storyreplay-string-chartforgex-stories-visualstoryterminaloptions-chartforgex-themes-visualtheme-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Extension method [TerminalStory.Dialect](/api/chartforgex-terminal-terminalstory/#extension-dialect-chartforgex-terminal-terminalstory-chartforgex-terminal-terminaldialect-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Extension method [TerminalStory.Style](/api/chartforgex-terminal-terminalstory/#extension-style-chartforgex-terminal-terminalstory-action-chartforgex-terminal-terminalstyleoptions) parameter `configure`
- Extension method [TerminalStory.Style](/api/chartforgex-terminal-terminalstory/#extension-style-chartforgex-terminal-terminalstory-chartforgex-terminal-terminalstyleoptions) parameter `value`
- Method [TerminalStory.DeclareTab](/api/chartforgex-terminal-terminalstory/#method-declaretab-string-string-chartforgex-terminal-terminaldialect-string-chartforgex-themes-visualtheme-nullable-chartforgex-icon-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Method [TerminalStory.InitialTab](/api/chartforgex-terminal-terminalstory/#method-initialtab-string-string-chartforgex-terminal-terminaldialect-string-chartforgex-themes-visualtheme-nullable-chartforgex-icon-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Method [TerminalStory.OpenTab](/api/chartforgex-terminal-terminalstory/#method-opentab-string-string-chartforgex-terminal-terminaldialect-string-chartforgex-themes-visualtheme-nullable-chartforgex-icon-string-double-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Method [TerminalStory.SelectTab](/api/chartforgex-terminal-terminalstory/#method-selecttab-string-double-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Method [TerminalStoryFluent.Dialect](/api/chartforgex-terminal-terminalstoryfluent/#method-dialect-chartforgex-terminal-terminalstory-chartforgex-terminal-terminaldialect-string-chartforgex-thememode-chartforgex-terminal-terminalstyleoptions) parameter `style`
- Method [TerminalStoryFluent.Style](/api/chartforgex-terminal-terminalstoryfluent/#method-style-chartforgex-terminal-terminalstory-action-chartforgex-terminal-terminalstyleoptions) parameter `configure`
- Method [TerminalStoryFluent.Style](/api/chartforgex-terminal-terminalstoryfluent/#method-style-chartforgex-terminal-terminalstory-chartforgex-terminal-terminalstyleoptions) parameter `value`
- Extension method [TerminalStyleOptions.Cursor](/api/chartforgex-terminal-terminalstyleoptions/#extension-cursor-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor) parameter `terminalStyleOptions`
- Extension method [TerminalStyleOptions.HeaderBackground](/api/chartforgex-terminal-terminalstyleoptions/#extension-headerbackground-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor) parameter `terminalStyleOptions`
- Method [TerminalStyleOptionsFluent.Cursor](/api/chartforgex-terminal-terminalstyleoptionsfluent/#method-cursor-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor) parameter `terminalStyleOptions`
- Method [TerminalStyleOptionsFluent.HeaderBackground](/api/chartforgex-terminal-terminalstyleoptionsfluent/#method-headerbackground-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor) parameter `terminalStyleOptions`

 Filter members   

    Show inherited   

 

## Constructors

 `public TerminalStyleOptions()` [#](#constructor-ctor) 

## Methods

 `public TerminalStyleOptions Clone()` [#](#method-clone) 

[TerminalStyleOptions.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStyleOptions.cs#L16)

Creates an independent copy of the local options.

Returns

 `TerminalStyleOptions` 

## 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 ChartColor? HeaderBackground { get; set; }` [#](#property-headerbackground) 

[TerminalStyleOptions.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStyleOptions.cs#L12)

Overrides the title-bar surface.

 `public ChartColor? Cursor { get; set; }` [#](#property-cursor) 

[TerminalStyleOptions.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStyleOptions.cs#L14)

Overrides the cursor paint.

## Extension Methods

 `public static TerminalStyleOptions Cursor(TerminalStyleOptions terminalStyleOptions, ChartColor? value)` [#](#extension-cursor-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [TerminalStyleOptions.Cursor](/api/chartforgex-terminal-terminalstyleoptions/): Overrides the cursor paint.

Parameters

**terminalStyleOptions ChartForgeX.Terminal.TerminalStyleOptions required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `TerminalStyleOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Terminal.TerminalStyleOptions { Cursor = value };    terminalStyleOptions.Cursor(value);
```

 `public static TerminalStyleOptions HeaderBackground(TerminalStyleOptions terminalStyleOptions, ChartColor? value)` [#](#extension-headerbackground-chartforgex-terminal-terminalstyleoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [TerminalStyleOptions.HeaderBackground](/api/chartforgex-terminal-terminalstyleoptions/): Overrides the title-bar surface.

Parameters

**terminalStyleOptions ChartForgeX.Terminal.TerminalStyleOptions required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `TerminalStyleOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Terminal.TerminalStyleOptions { HeaderBackground = value };    terminalStyleOptions.HeaderBackground(value);
```

<!-- PowerForge markdown artifact sha256:7754D483684574B5179A9C40FFC90559080C457E098083DF2C829085DE46A3ED -->
