# CustomWindowConfig

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

Config used to open a Custom Window

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

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [frameworkComponent](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#frameworkcomponent) | [`AdaptableFrameworkComponent`](https://www.adaptabletools.com/docs/reference/adaptableframeworkcomponent.md) | React, Angular or Vue Framework component to use for Custom Window content |
| [icon](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#icon) | [`AdaptableSystemIconName`](https://www.adaptabletools.com/docs/reference/adaptablesystemiconname.md) | Icon to display in Custom Window header |
| [id](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#id) | `string` | Unique identifier for Custom Window |
| [onFrameworkComponentDestroyed](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#onframeworkcomponentdestroyed) | `() => void` | Callback function invoked when framework component is destroyed |
| [position](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#position) | [`WindowPosition`](https://www.adaptabletools.com/docs/reference/windowposition.md) | Position of window in pixels (provided as x, y) |
| [render](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#render) | `(customRenderContext: `[`CustomRenderContext`](https://www.adaptabletools.com/docs/reference/customrendercontext.md)`) => string \| null` | Render function to display content in Custom Window (if not using a framework component) |
| [size](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#size) | [`WindowSize`](https://www.adaptabletools.com/docs/reference/windowsize.md) | Size of window in pixels (provided as width, height) |
| [title](https://www.adaptabletools.com/docs/reference/customwindowconfig.md#title) | `string` | Title of Custom Window |

## Property Details

### frameworkComponent

React, Angular or Vue Framework component to use for Custom Window content

```ts title="TypeScript"
frameworkComponent?: AdaptableFrameworkComponent;
```

###### Property Value

[`AdaptableFrameworkComponent`](https://www.adaptabletools.com/docs/reference/adaptableframeworkcomponent.md)

### icon

Icon to display in Custom Window header

```ts title="TypeScript"
icon?: AdaptableSystemIconName;
```

###### Property Value

[`AdaptableSystemIconName`](https://www.adaptabletools.com/docs/reference/adaptablesystemiconname.md)

### id

Unique identifier for Custom Window

```ts title="TypeScript"
id: string;
```

###### Property Value

`string`

### onFrameworkComponentDestroyed

Callback function invoked when framework component is destroyed

```ts title="TypeScript"
onFrameworkComponentDestroyed?: () => void;
```

###### Property Value

`() => void`

### position

Position of window in pixels (provided as x, y)

```ts title="TypeScript"
position?: WindowPosition;
```

###### Property Value

[`WindowPosition`](https://www.adaptabletools.com/docs/reference/windowposition.md)

### render

Render function to display content in Custom Window (if not using a framework component)

```ts title="TypeScript"
render?: (customRenderContext: CustomRenderContext) => string | null;
```

###### Property Value

`(customRenderContext: `[`CustomRenderContext`](https://www.adaptabletools.com/docs/reference/customrendercontext.md)`) => string | null`

### size

Size of window in pixels (provided as width, height)

```ts title="TypeScript"
size?: WindowSize;
```

###### Property Value

[`WindowSize`](https://www.adaptabletools.com/docs/reference/windowsize.md)

### title

Title of Custom Window

```ts title="TypeScript"
title?: string;
```

###### Property Value

`string`
