# VisualStoryStyleOptionsFluent

The fluent methods of VisualStoryStyleOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Stories`

**Namespace**

`ChartForgeX.Stories`

**Assembly**

`ChartForgeX.Stories`

**Modifiers**

static

The fluent methods of [VisualStoryStyleOptions](/api/chartforgex-stories-visualstorystyleoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- VisualStoryStyleOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static VisualStoryStyleOptions BackgroundEnd(VisualStoryStyleOptions visualStoryStyleOptions, ChartColor? value)` [#](#method-backgroundend-chartforgex-stories-visualstorystyleoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [VisualStoryStyleOptions.BackgroundEnd](/api/chartforgex-stories-visualstorystyleoptions/): Adds a second desktop paint for a diagonal gradient.

Parameters

**visualStoryStyleOptions ChartForgeX.Stories.VisualStoryStyleOptions required**

The instance.

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

The value.

Returns

 `VisualStoryStyleOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Stories.VisualStoryStyleOptions { BackgroundEnd = value };    visualStoryStyleOptions.BackgroundEnd(value);
```

 Syntax 2 overloads 

 `public static VisualStoryStyleOptions Syntax(VisualStoryStyleOptions visualStoryStyleOptions, StorySyntaxPalette? value)` [#](#method-syntax-chartforgex-stories-visualstorystyleoptions-chartforgex-stories-storysyntaxpalette) 

Sets [VisualStoryStyleOptions.Syntax](/api/chartforgex-stories-visualstorystyleoptions/): Overrides semantic source colors. Null derives colors from the shared palette, using the foreground when a syntax color lacks readable contrast.

Parameters

**visualStoryStyleOptions ChartForgeX.Stories.VisualStoryStyleOptions required**

The instance.

**value ChartForgeX.Stories.StorySyntaxPalette? required**

The value.

Returns

 `VisualStoryStyleOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Stories.VisualStoryStyleOptions { Syntax = value };    visualStoryStyleOptions.Syntax(value);
```

 `public static VisualStoryStyleOptions Syntax(VisualStoryStyleOptions visualStoryStyleOptions, Action<StorySyntaxPalette> configure)` [#](#method-syntax-chartforgex-stories-visualstorystyleoptions-action-chartforgex-stories-storysyntaxpalette) 

Configures [VisualStoryStyleOptions.Syntax](/api/chartforgex-stories-visualstorystyleoptions/) in place (creating it when not set): Overrides semantic source colors. Null derives colors from the shared palette, using the foreground when a syntax color lacks readable contrast.

Parameters

**visualStoryStyleOptions ChartForgeX.Stories.VisualStoryStyleOptions required**

The instance.

**configure System.Action<ChartForgeX.Stories.StorySyntaxPalette> required**

Configures the value.

Returns

 `VisualStoryStyleOptions` The same instance. 

 `public static VisualStoryStyleOptions WindowHeader(VisualStoryStyleOptions visualStoryStyleOptions, ChartColor? value)` [#](#method-windowheader-chartforgex-stories-visualstorystyleoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [VisualStoryStyleOptions.WindowHeader](/api/chartforgex-stories-visualstorystyleoptions/): Overrides source and replay title-bar paint.

Parameters

**visualStoryStyleOptions ChartForgeX.Stories.VisualStoryStyleOptions required**

The instance.

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

The value.

Returns

 `VisualStoryStyleOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Stories.VisualStoryStyleOptions { WindowHeader = value };    visualStoryStyleOptions.WindowHeader(value);
```

 `public static VisualStoryStyleOptions WindowStyle(VisualStoryStyleOptions visualStoryStyleOptions, TerminalWindowStyle value)` [#](#method-windowstyle-chartforgex-stories-visualstorystyleoptions-chartforgex-terminal-terminalwindowstyle) 

Sets [VisualStoryStyleOptions.WindowStyle](/api/chartforgex-stories-visualstorystyleoptions/): Chooses source/replay window chrome without changing the common palette.

Parameters

**visualStoryStyleOptions ChartForgeX.Stories.VisualStoryStyleOptions required**

The instance.

**value ChartForgeX.Terminal.TerminalWindowStyle required**

The value.

Returns

 `VisualStoryStyleOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Stories.VisualStoryStyleOptions { WindowStyle = value };    visualStoryStyleOptions.WindowStyle(value);
```

## 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?` 

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