# FishboneCause

Describes a cause or nested sub-cause in a fishbone diagram.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Source**

[FishboneDiagramBlock.cs:57](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/FishboneDiagramBlock.cs#L57)

**Modifiers**

sealed

Describes a cause or nested sub-cause in a fishbone diagram.

## Inheritance

- object
- FishboneCause

## Usage

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

- Method [FishboneCause.AddChild](/api/chartforgex-visualblocks-fishbonecause/#method-addchild-string)
- Property [FishboneCause.Children](/api/chartforgex-visualblocks-fishbonecause/#property-children)
- Method [FishboneDiagramBlock.AddCause](/api/chartforgex-visualblocks-fishbonediagramblock/#method-addcause-string)
- Property [FishboneDiagramBlock.Causes](/api/chartforgex-visualblocks-fishbonediagramblock/#property-causes)

 Filter members   

    Show inherited   

 

## Constructors

 `public FishboneCause(string label)` [#](#constructor-ctor-string) 

[FishboneDiagramBlock.cs:57](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/FishboneDiagramBlock.cs#L57)

Initializes a cause.

Parameters

**label string required**

## Methods

 `public FishboneCause AddChild(string label)` [#](#method-addchild-string) 

[FishboneDiagramBlock.cs:73](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/FishboneDiagramBlock.cs#L73)

Adds a nested sub-cause.

Parameters

**label string required**

Returns

 `FishboneCause` 

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

[FishboneDiagramBlock.cs:66](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/FishboneDiagramBlock.cs#L66)

Gets or sets the display label.

 `public IReadOnlyList<FishboneCause> Children { get; }` [#](#property-children) 

[FishboneDiagramBlock.cs:69](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/FishboneDiagramBlock.cs#L69)

Gets nested sub-causes.

<!-- PowerForge markdown artifact sha256:6E42ABF6D93BE2340E762AB9637F8283508CC6BD020902C2A04B9676261E6163 -->
