# StorySyntaxPalette

Defines the renderer-neutral syntax palette used by visual stories and terminal commands.

 Class  

`ChartForgeX.Stories`

**Namespace**

`ChartForgeX.Stories`

**Assembly**

`ChartForgeX.Stories`

**Source**

[VisualStoryTheme.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L11)

**Modifiers**

sealed

Defines the renderer-neutral syntax palette used by visual stories and terminal commands.

## Inheritance

- object
- StorySyntaxPalette

## Usage

 Explore 54 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 26

- Extension method [StorySyntaxPalette.Command](/api/chartforgex-stories-storysyntaxpalette/#extension-command-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Comment](/api/chartforgex-stories-storysyntaxpalette/#extension-comment-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Keyword](/api/chartforgex-stories-storysyntaxpalette/#extension-keyword-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Number](/api/chartforgex-stories-storysyntaxpalette/#extension-number-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Operator](/api/chartforgex-stories-storysyntaxpalette/#extension-operator-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Parameter](/api/chartforgex-stories-storysyntaxpalette/#extension-parameter-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Plain](/api/chartforgex-stories-storysyntaxpalette/#extension-plain-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Property](/api/chartforgex-stories-storysyntaxpalette/#extension-property-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Punctuation](/api/chartforgex-stories-storysyntaxpalette/#extension-punctuation-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.String](/api/chartforgex-stories-storysyntaxpalette/#extension-string-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Type](/api/chartforgex-stories-storysyntaxpalette/#extension-type-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Extension method [StorySyntaxPalette.Variable](/api/chartforgex-stories-storysyntaxpalette/#extension-variable-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPalette.Clone](/api/chartforgex-stories-storysyntaxpalette/#method-clone)
- Method [StorySyntaxPaletteFluent.Command](/api/chartforgex-stories-storysyntaxpalettefluent/#method-command-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Comment](/api/chartforgex-stories-storysyntaxpalettefluent/#method-comment-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Keyword](/api/chartforgex-stories-storysyntaxpalettefluent/#method-keyword-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Number](/api/chartforgex-stories-storysyntaxpalettefluent/#method-number-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Operator](/api/chartforgex-stories-storysyntaxpalettefluent/#method-operator-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Parameter](/api/chartforgex-stories-storysyntaxpalettefluent/#method-parameter-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Plain](/api/chartforgex-stories-storysyntaxpalettefluent/#method-plain-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Property](/api/chartforgex-stories-storysyntaxpalettefluent/#method-property-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Punctuation](/api/chartforgex-stories-storysyntaxpalettefluent/#method-punctuation-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.String](/api/chartforgex-stories-storysyntaxpalettefluent/#method-string-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Type](/api/chartforgex-stories-storysyntaxpalettefluent/#method-type-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Method [StorySyntaxPaletteFluent.Variable](/api/chartforgex-stories-storysyntaxpalettefluent/#method-variable-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor)
- Property [VisualStoryStyleOptions.Syntax](/api/chartforgex-stories-visualstorystyleoptions/#property-syntax)

### Accepted by parameters 28

- Extension method [StorySyntaxPalette.Command](/api/chartforgex-stories-storysyntaxpalette/#extension-command-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Comment](/api/chartforgex-stories-storysyntaxpalette/#extension-comment-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Keyword](/api/chartforgex-stories-storysyntaxpalette/#extension-keyword-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Number](/api/chartforgex-stories-storysyntaxpalette/#extension-number-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Operator](/api/chartforgex-stories-storysyntaxpalette/#extension-operator-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Parameter](/api/chartforgex-stories-storysyntaxpalette/#extension-parameter-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Plain](/api/chartforgex-stories-storysyntaxpalette/#extension-plain-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Property](/api/chartforgex-stories-storysyntaxpalette/#extension-property-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Punctuation](/api/chartforgex-stories-storysyntaxpalette/#extension-punctuation-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.String](/api/chartforgex-stories-storysyntaxpalette/#extension-string-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Type](/api/chartforgex-stories-storysyntaxpalette/#extension-type-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [StorySyntaxPalette.Variable](/api/chartforgex-stories-storysyntaxpalette/#extension-variable-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Command](/api/chartforgex-stories-storysyntaxpalettefluent/#method-command-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Comment](/api/chartforgex-stories-storysyntaxpalettefluent/#method-comment-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Keyword](/api/chartforgex-stories-storysyntaxpalettefluent/#method-keyword-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Number](/api/chartforgex-stories-storysyntaxpalettefluent/#method-number-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Operator](/api/chartforgex-stories-storysyntaxpalettefluent/#method-operator-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Parameter](/api/chartforgex-stories-storysyntaxpalettefluent/#method-parameter-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Plain](/api/chartforgex-stories-storysyntaxpalettefluent/#method-plain-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Property](/api/chartforgex-stories-storysyntaxpalettefluent/#method-property-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Punctuation](/api/chartforgex-stories-storysyntaxpalettefluent/#method-punctuation-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.String](/api/chartforgex-stories-storysyntaxpalettefluent/#method-string-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Type](/api/chartforgex-stories-storysyntaxpalettefluent/#method-type-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Method [StorySyntaxPaletteFluent.Variable](/api/chartforgex-stories-storysyntaxpalettefluent/#method-variable-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) parameter `storySyntaxPalette`
- Extension method [VisualStoryStyleOptions.Syntax](/api/chartforgex-stories-visualstorystyleoptions/#extension-syntax-chartforgex-stories-visualstorystyleoptions-action-chartforgex-stories-storysyntaxpalette) parameter `configure`
- Extension method [VisualStoryStyleOptions.Syntax](/api/chartforgex-stories-visualstorystyleoptions/#extension-syntax-chartforgex-stories-visualstorystyleoptions-chartforgex-stories-storysyntaxpalette) parameter `value`
- Method [VisualStoryStyleOptionsFluent.Syntax](/api/chartforgex-stories-visualstorystyleoptionsfluent/#method-syntax-chartforgex-stories-visualstorystyleoptions-action-chartforgex-stories-storysyntaxpalette) parameter `configure`
- Method [VisualStoryStyleOptionsFluent.Syntax](/api/chartforgex-stories-visualstorystyleoptionsfluent/#method-syntax-chartforgex-stories-visualstorystyleoptions-chartforgex-stories-storysyntaxpalette) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

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

[VisualStoryTheme.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L11)

## Methods

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

[VisualStoryTheme.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L54)

Creates a shallow copy of this palette.

Returns

 `StorySyntaxPalette` 

 `public ChartColor Resolve(StorySyntaxKind kind)` [#](#method-resolve-chartforgex-stories-storysyntaxkind) 

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

Resolves a semantic syntax category to its configured color.

Parameters

**kind ChartForgeX.Stories.StorySyntaxKind required**

Returns

 `ChartColor` 

## 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 Plain { get; set; }` [#](#property-plain) 

[VisualStoryTheme.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L11)

Gets or sets plain source text color.

 `public ChartColor Keyword { get; set; }` [#](#property-keyword) 

[VisualStoryTheme.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L13)

Gets or sets keyword color.

 `public ChartColor Type { get; set; }` [#](#property-type) 

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

Gets or sets type color.

 `public ChartColor Command { get; set; }` [#](#property-command) 

[VisualStoryTheme.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L17)

Gets or sets command color.

 `public ChartColor Parameter { get; set; }` [#](#property-parameter) 

[VisualStoryTheme.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L19)

Gets or sets parameter color.

 `public ChartColor Variable { get; set; }` [#](#property-variable) 

[VisualStoryTheme.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L21)

Gets or sets variable color.

 `public ChartColor Property { get; set; }` [#](#property-property) 

[VisualStoryTheme.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L23)

Gets or sets property color.

 `public ChartColor String { get; set; }` [#](#property-string) 

[VisualStoryTheme.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L25)

Gets or sets string color.

 `public ChartColor Number { get; set; }` [#](#property-number) 

[VisualStoryTheme.cs:27](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L27)

Gets or sets number color.

 `public ChartColor Comment { get; set; }` [#](#property-comment) 

[VisualStoryTheme.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L29)

Gets or sets comment color.

 `public ChartColor Operator { get; set; }` [#](#property-operator) 

[VisualStoryTheme.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L31)

Gets or sets operator color.

 `public ChartColor Punctuation { get; set; }` [#](#property-punctuation) 

[VisualStoryTheme.cs:33](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryTheme.cs#L33)

Gets or sets punctuation color.

## Extension Methods

 `public static StorySyntaxPalette Command(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-command-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Command](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets command color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Command = value };    storySyntaxPalette.Command(value);
```

 `public static StorySyntaxPalette Comment(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-comment-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Comment](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets comment color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Comment = value };    storySyntaxPalette.Comment(value);
```

 `public static StorySyntaxPalette Keyword(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-keyword-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Keyword](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets keyword color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Keyword = value };    storySyntaxPalette.Keyword(value);
```

 `public static StorySyntaxPalette Number(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-number-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Number](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets number color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Number = value };    storySyntaxPalette.Number(value);
```

 `public static StorySyntaxPalette Operator(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-operator-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Operator](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets operator color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Operator = value };    storySyntaxPalette.Operator(value);
```

 `public static StorySyntaxPalette Parameter(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-parameter-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Parameter](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets parameter color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Parameter = value };    storySyntaxPalette.Parameter(value);
```

 `public static StorySyntaxPalette Plain(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-plain-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Plain](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets plain source text color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Plain = value };    storySyntaxPalette.Plain(value);
```

 `public static StorySyntaxPalette Property(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-property-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Property](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets property color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Property = value };    storySyntaxPalette.Property(value);
```

 `public static StorySyntaxPalette Punctuation(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-punctuation-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Punctuation](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets punctuation color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Punctuation = value };    storySyntaxPalette.Punctuation(value);
```

 `public static StorySyntaxPalette String(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-string-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.String](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets string color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { String = value };    storySyntaxPalette.String(value);
```

 `public static StorySyntaxPalette Type(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-type-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Type](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets type color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Type = value };    storySyntaxPalette.Type(value);
```

 `public static StorySyntaxPalette Variable(StorySyntaxPalette storySyntaxPalette, ChartColor value)` [#](#extension-variable-chartforgex-stories-storysyntaxpalette-chartforgex-primitives-chartcolor) 

Sets [StorySyntaxPalette.Variable](/api/chartforgex-stories-storysyntaxpalette/): Gets or sets variable color.

Parameters

**storySyntaxPalette ChartForgeX.Stories.StorySyntaxPalette required**

The instance.

**value ChartForgeX.Primitives.ChartColor required**

The value.

Returns

 `StorySyntaxPalette` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Stories.StorySyntaxPalette { Variable = value };    storySyntaxPalette.Variable(value);
```

<!-- PowerForge markdown artifact sha256:8423CD28798CBD09D622B354570F80C6FE348B0951568B0506AC1802EC5AC9D2 -->
