# GC.Spread.Sheets.NameBox

## Content

# Namespace: NameBox

[Spread](GC.Spread).[Sheets](GC.Spread.Sheets).NameBox

## Table of contents

### Classes

- [NameBox](../classes/GC.Spread.Sheets.NameBox.NameBox)

### Interfaces

- [INameBoxOptions](../interfaces/GC.Spread.Sheets.NameBox.INameBoxOptions)

### Functions

- [findControl](GC.Spread.Sheets.NameBox#findcontrol)

## Functions

### <a id="findcontrol" name="findcontrol"></a> findControl

▸ **findControl**(`host`): [`NameBox`](../classes/GC.Spread.Sheets.NameBox.NameBox)

Gets the NameBox instance by the host element.

**`example`**
```
var spread = new GC.Spread.Sheets.Workbook("ss");
var nameBox = new GC.Spread.Sheets.NameBox.NameBox('nameBox');
nameBox.bind(spread);
var nameBoxInstance = GC.Spread.Sheets.NameBox.findControl('nameBox');
```

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `host` | `string` \| `HTMLElement` | The host element or the host element id. |

#### Returns

[`NameBox`](../classes/GC.Spread.Sheets.NameBox.NameBox)

The NameBox instance.
