# SegmentedMetricBlockFluent

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

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX.Visuals`

**Modifiers**

static

The fluent methods of [SegmentedMetricBlock](/api/chartforgex-visualblocks-segmentedmetricblock/), 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
- SegmentedMetricBlockFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static SegmentedMetricBlock Accessibility(SegmentedMetricBlock segmentedMetricBlock, Action<VisualAccessibility> configure)` [#](#method-accessibility-chartforgex-visualblocks-segmentedmetricblock-action-chartforgex-accessibility-visualaccessibility) 

Configures [VisualBlockOptions.Accessibility](/api/chartforgex-visualblocks-visualblockoptions/) in place.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required**

Configures the value.

Returns

 `SegmentedMetricBlock` The same instance. 

 `public static SegmentedMetricBlock Caption(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-caption-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets [SegmentedMetricBlock.Caption](/api/chartforgex-visualblocks-segmentedmetricblock/): Gets optional caption text rendered beside the metric.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Caption = value };    segmentedMetricBlock.Caption(value);
```

 `public static SegmentedMetricBlock HeaderSymbol(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-headersymbol-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets [SegmentedMetricBlock.HeaderSymbol](/api/chartforgex-visualblocks-segmentedmetricblock/): Gets optional compact header symbol rendered in a badge.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { HeaderSymbol = value };    segmentedMetricBlock.HeaderSymbol(value);
```

 `public static SegmentedMetricBlock HostOwnsFrame(SegmentedMetricBlock segmentedMetricBlock, bool value = true)` [#](#method-hostownsframe-chartforgex-visualblocks-segmentedmetricblock-boolean) 

Sets [VisualBlockOptions.HostOwnsFrame](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.HostOwnsFrame = value;    segmentedMetricBlock.HostOwnsFrame(value);
```

 `public static SegmentedMetricBlock Label(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-label-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets [SegmentedMetricBlock.Label](/api/chartforgex-visualblocks-segmentedmetricblock/): Gets the metric label.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Label = value };    segmentedMetricBlock.Label(value);
```

 `public static SegmentedMetricBlock Options(SegmentedMetricBlock segmentedMetricBlock, Action<VisualBlockOptions> configure)` [#](#method-options-chartforgex-visualblocks-segmentedmetricblock-action-chartforgex-visualblocks-visualblockoptions) 

Configures VisualBlock<SegmentedMetricBlock>.Options in place.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required**

Configures the value.

Returns

 `SegmentedMetricBlock` The same instance. 

 `public static SegmentedMetricBlock Padding(SegmentedMetricBlock segmentedMetricBlock, ChartPadding value)` [#](#method-padding-chartforgex-visualblocks-segmentedmetricblock-chartforgex-primitives-chartpadding) 

Sets [VisualBlockOptions.Padding](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value ChartForgeX.Primitives.ChartPadding required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                           // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.Padding = value;    segmentedMetricBlock.Padding(value);
```

 `public static SegmentedMetricBlock RasterScale(SegmentedMetricBlock segmentedMetricBlock, int value)` [#](#method-rasterscale-chartforgex-visualblocks-segmentedmetricblock-int32) 

Sets [VisualBlockOptions.RasterScale](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value int required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                               // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.RasterScale = value;    segmentedMetricBlock.RasterScale(value);
```

 `public static SegmentedMetricBlock ShowCard(SegmentedMetricBlock segmentedMetricBlock, bool value = true)` [#](#method-showcard-chartforgex-visualblocks-segmentedmetricblock-boolean) 

Sets [VisualBlockOptions.ShowCard](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                            // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.ShowCard = value;    segmentedMetricBlock.ShowCard(value);
```

 `public static SegmentedMetricBlock Size(SegmentedMetricBlock segmentedMetricBlock, ChartSize value)` [#](#method-size-chartforgex-visualblocks-segmentedmetricblock-chartforgex-primitives-chartsize) 

Sets [VisualBlockOptions.Size](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value ChartForgeX.Primitives.ChartSize required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                        // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.Size = value;    segmentedMetricBlock.Size(value);
```

 `public static SegmentedMetricBlock Style(SegmentedMetricBlock segmentedMetricBlock, SegmentedMetricStyle value)` [#](#method-style-chartforgex-visualblocks-segmentedmetricblock-chartforgex-visualblocks-segmentedmetricstyle) 

Sets [SegmentedMetricBlock.Style](/api/chartforgex-visualblocks-segmentedmetricblock/): Gets or sets the visual treatment used for the items.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value ChartForgeX.VisualBlocks.SegmentedMetricStyle required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Style = value };    segmentedMetricBlock.Style(value);
```

 `public static SegmentedMetricBlock Subtitle(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-subtitle-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets VisualBlock<SegmentedMetricBlock>.Subtitle.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Subtitle = value };    segmentedMetricBlock.Subtitle(value);
```

 `public static SegmentedMetricBlock SvgColorVariables(SegmentedMetricBlock segmentedMetricBlock, SvgColorVariables? value)` [#](#method-svgcolorvariables-chartforgex-visualblocks-segmentedmetricblock-chartforgex-themes-svgcolorvariables) 

Sets [VisualBlockOptions.SvgColorVariables](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value ChartForgeX.Themes.SvgColorVariables? required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                                     // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.SvgColorVariables = value;    segmentedMetricBlock.SvgColorVariables(value);
```

 `public static SegmentedMetricBlock Theme(SegmentedMetricBlock segmentedMetricBlock, VisualTheme value)` [#](#method-theme-chartforgex-visualblocks-segmentedmetricblock-chartforgex-themes-visualtheme) 

Sets [VisualBlockOptions.Theme](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value ChartForgeX.Themes.VisualTheme required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                         // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.Theme = value;    segmentedMetricBlock.Theme(value);
```

 `public static SegmentedMetricBlock ThemeMode(SegmentedMetricBlock segmentedMetricBlock, ThemeMode value)` [#](#method-thememode-chartforgex-visualblocks-segmentedmetricblock-chartforgex-thememode) 

Sets [VisualBlockOptions.ThemeMode](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value ChartForgeX.ThemeMode required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                             // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.ThemeMode = value;    segmentedMetricBlock.ThemeMode(value);
```

 `public static SegmentedMetricBlock Title(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-title-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets VisualBlock<SegmentedMetricBlock>.Title.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Title = value };    segmentedMetricBlock.Title(value);
```

 `public static SegmentedMetricBlock TransparentBackground(SegmentedMetricBlock segmentedMetricBlock, bool value = true)` [#](#method-transparentbackground-chartforgex-visualblocks-segmentedmetricblock-boolean) 

Sets [VisualBlockOptions.TransparentBackground](/api/chartforgex-visualblocks-visualblockoptions/).

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                                         // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.SegmentedMetricBlock>)segmentedMetricBlock).Options.TransparentBackground = value;    segmentedMetricBlock.TransparentBackground(value);
```

 `public static SegmentedMetricBlock Unit(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-unit-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets [SegmentedMetricBlock.Unit](/api/chartforgex-visualblocks-segmentedmetricblock/): Gets the unit suffix rendered beside item values for composition-style blocks.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Unit = value };    segmentedMetricBlock.Unit(value);
```

 `public static SegmentedMetricBlock Value(SegmentedMetricBlock segmentedMetricBlock, string value)` [#](#method-value-chartforgex-visualblocks-segmentedmetricblock-string) 

Sets [SegmentedMetricBlock.Value](/api/chartforgex-visualblocks-segmentedmetricblock/): Gets the metric value.

Parameters

**segmentedMetricBlock ChartForgeX.VisualBlocks.SegmentedMetricBlock required**

The instance.

**value string required**

The value.

Returns

 `SegmentedMetricBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.VisualBlocks.SegmentedMetricBlock { Value = value };    segmentedMetricBlock.Value(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:C629B92F2BE3A66D8E7F7917CF31C01696DCA94FFE4824A8AD62BE767B13A58D -->
