# LinkControl

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

A hyperlink (external URL, `mailto:`, internal drill-through, etc.).

```ts title="TypeScript"
export interface LinkControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> 
```

###### Extends

[`BaseControl`](https://www.adaptabletools.com/docs/reference/basecontrol.md)`<TData, CTX>`

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [href](https://www.adaptabletools.com/docs/reference/linkcontrol.md#href) | [`ValueOrFunction`](https://www.adaptabletools.com/docs/reference/valueorfunction.md)`<string, CTX>` | The link target - static string or a function of the context. |   |
| [target](https://www.adaptabletools.com/docs/reference/linkcontrol.md#target) | `'_blank' \| '_self'` | Where to open the link | &#39;_self&#39; |
| [type](https://www.adaptabletools.com/docs/reference/linkcontrol.md#type) | `'link'` | Discriminator. Set to `'link'`. |   |

## Property Details

### href

The link target - static string or a function of the context.

```ts title="TypeScript"
href: ValueOrFunction<string, CTX>;
```

###### Property Value

[`ValueOrFunction`](https://www.adaptabletools.com/docs/reference/valueorfunction.md)`<string, CTX>`

### target

Where to open the link

```ts title="TypeScript"
target?: '_blank' | '_self';
```

###### Default Value

&#39;_self&#39;

###### Property Value

`'_blank' | '_self'`

### type

Discriminator. Set to `'link'`.

```ts title="TypeScript"
type: 'link';
```

###### Property Value

`'link'`
