# TopologyHierarchyLayoutPolicy

Controls how the direct children of a hierarchy item are arranged inside their layered-layout branch.

 Enum  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyHierarchyLayoutPolicy.cs:7](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchyLayoutPolicy.cs#L7)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Controls how the direct children of a hierarchy item are arranged inside their layered-layout branch. Policies inherit through the subtree until another item overrides them.

## Inheritance

- Enum
- TopologyHierarchyLayoutPolicy

## Usage

 Explore 10 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 [TopologyHierarchyItem.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitem/#property-layoutpolicy)
- Field [TopologyHierarchyLayoutPolicy.Auto](/api/chartforgex-topology-topologyhierarchylayoutpolicy/#field-auto)
- Field [TopologyHierarchyLayoutPolicy.Compact](/api/chartforgex-topology-topologyhierarchylayoutpolicy/#field-compact)
- Field [TopologyHierarchyLayoutPolicy.Standard](/api/chartforgex-topology-topologyhierarchylayoutpolicy/#field-standard)
- Field [TopologyHierarchyLayoutPolicy.Vertical](/api/chartforgex-topology-topologyhierarchylayoutpolicy/#field-vertical)
- Property [TopologyHierarchyOptions.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyoptions/#property-layoutpolicy)
- Property [TopologyTeamMember.LayoutPolicy](/api/chartforgex-topology-topologyteammember/#property-layoutpolicy)
- Property [TopologyTeamOptions.LayoutPolicy](/api/chartforgex-topology-topologyteamoptions/#property-layoutpolicy)

### Accepted by parameters 2

- Extension method [TopologyHierarchyItem.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitem/#extension-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy) parameter `value`
- Method [TopologyHierarchyItemFluent.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const TopologyHierarchyLayoutPolicy Auto` [#](#field-auto) 

[TopologyHierarchyLayoutPolicy.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchyLayoutPolicy.cs#L9)

Uses a single sibling band when it fits and balanced compact packing when it does not.

Value: `0`

 `public const TopologyHierarchyLayoutPolicy Standard` [#](#field-standard) 

[TopologyHierarchyLayoutPolicy.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchyLayoutPolicy.cs#L12)

Keeps direct children in one sibling band, allowing the final layout normalizer to fit wide content.

Value: `1`

 `public const TopologyHierarchyLayoutPolicy Compact` [#](#field-compact) 

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

Packs direct children into a balanced deterministic grid.

Value: `2`

 `public const TopologyHierarchyLayoutPolicy Vertical` [#](#field-vertical) 

[TopologyHierarchyLayoutPolicy.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchyLayoutPolicy.cs#L18)

Stacks direct children in one vertical column.

Value: `3`

<!-- PowerForge markdown artifact sha256:E555B3119892F70EEA609F15CA7718268C65C0A74C519E9980CACDC8600C83DE -->
