# AdaptableToolPanelDefinition

Canonical page: https://www.adaptabletools.com/docs/reference/adaptabletoolpaneldefinition

One tool panel.

`Name` is an AdapTable module or a custom panel from Tool Panel Options. `VisibilityMode` is `'expanded'` (the panel body is open) or `'collapsed'` (only the header is shown). The default is `'collapsed'`.

```ts title="TypeScript"
export interface AdaptableToolPanelDefinition 
```

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [Name](https://www.adaptabletools.com/docs/reference/adaptabletoolpaneldefinition.md#name) | [`AdaptableToolPanel`](https://www.adaptabletools.com/docs/reference/adaptabletoolpanel.md)` \| string` | ToolPanel name - either an Adaptable Module or a Custom ToolPanel (defined in ToolPanel Options) |   |
| [VisibilityMode](https://www.adaptabletools.com/docs/reference/adaptabletoolpaneldefinition.md#visibilitymode) | `'expanded' \| 'collapsed'` | `'expanded'` shows the panel body. `'collapsed'` shows only the header. | &#39;collapsed&#39; |

## Property Details

### Name

ToolPanel name - either an Adaptable Module or a Custom ToolPanel (defined in ToolPanel Options)

```ts title="TypeScript"
Name: AdaptableToolPanel | string;
```

###### Property Value

[`AdaptableToolPanel`](https://www.adaptabletools.com/docs/reference/adaptabletoolpanel.md)` | string`

### VisibilityMode

`'expanded'` shows the panel body. `'collapsed'` shows only the header.

```ts title="TypeScript"
VisibilityMode?: 'expanded' | 'collapsed';
```

###### Default Value

&#39;collapsed&#39;

###### Property Value

`'expanded' | 'collapsed'`
