# CustomToolPanelButtonContext

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

Context used for Custom Tool Panels containing Buttons

```ts title="TypeScript"
export interface CustomToolPanelButtonContext extends ToolPanelButtonContext 
```

###### Extends

[`ToolPanelButtonContext`](https://www.adaptabletools.com/docs/reference/toolpanelbuttoncontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [customToolPanel](https://www.adaptabletools.com/docs/reference/customtoolpanelbuttoncontext.md#customtoolpanel) | [`CustomToolPanel`](https://www.adaptabletools.com/docs/reference/customtoolpanel.md) | The Custom ToolPanel which contains the button |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/customtoolpanelbuttoncontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### customToolPanel

The Custom ToolPanel which contains the button

```ts title="TypeScript"
customToolPanel: CustomToolPanel;
```

###### Property Value

[`CustomToolPanel`](https://www.adaptabletools.com/docs/reference/customtoolpanel.md)

### adaptableContext

> *Inherited from [BaseContext](https://www.adaptabletools.com/docs/reference/basecontext.md)*

Custom application Context provided in `AdaptableOptions.adaptableContext`

```ts title="TypeScript"
adaptableContext: any;
```

###### Property Value

`any`
