# InFilterLabelContext

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

Context passed to  when customising
the collapsed IN Filter label.

```ts title="TypeScript"
export interface InFilterLabelContext extends BaseContext 
```

###### Extends

[`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [selectedCount](https://www.adaptabletools.com/docs/reference/infilterlabelcontext.md#selectedcount) | `number` | Number of selected items.<br/><br/>For tree-shaped filters, this is the number of selected leaves (not parent nodes). |
| [selectedValues](https://www.adaptabletools.com/docs/reference/infilterlabelcontext.md#selectedvalues) | [`InFilterValue`](https://www.adaptabletools.com/docs/reference/infiltervalue.md)`[]` | Currently selected items, in selection order.<br/><br/>For tree-shaped filters (group columns and date columns), each selected leaf<br/>is one entry: its `value` is the full leaf path and its `label` the joined<br/>path label. |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/infilterlabelcontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### selectedCount

Number of selected items.

For tree-shaped filters, this is the number of selected leaves (not parent nodes).

```ts title="TypeScript"
selectedCount: number;
```

###### Property Value

`number`

### selectedValues

Currently selected items, in selection order.

For tree-shaped filters (group columns and date columns), each selected leaf
is one entry: its `value` is the full leaf path and its `label` the joined
path label.

```ts title="TypeScript"
selectedValues: InFilterValue[];
```

###### Property Value

[`InFilterValue`](https://www.adaptabletools.com/docs/reference/infiltervalue.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`
