> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/webmap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/webmap/general/frontend/documentation/winforms-angular-components/web-components/kendoui-components/textbox.md).

# TextBox

Adds supports for \[System.Windows.Forms.Label]\(<https://msdn.microsoft.com/en-us/library/system.windows.forms.textbox(v=vs.110).aspx>)

## Implementation  Details:

> **Component Selector:** 'wm-textbox'
>
> **Kendo UI Component:** [Kendo Inputs Textbox](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/)

## Class inheritance

TextBoxComponent extends [ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md).

## PME Support

### Properties

| Property           | Get/Set | Notify Changes | Details                                                                                                                                                                                                      |
| ------------------ | ------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| source             | Yes     | No             | Sets and gets value of the image resource.                                                                                                                                                                   |
| text: string       | Yes     | Yes            | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md)                               |
| name: string       | Yes     | No             | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/form-container.md)                                  |
| enabled: boolean   | Yes     | No             | Inherited from ControlComponent [see ControlComponent](https://app.gitbook.com/s/-MEOm98BbzqckTUoLpXN/general/frontend/documentation/winforms-angular-components/winforms/base-components/control-mapper.md) |
| visible: boolean   | Yes     | No             | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md)                               |
| maxLength: number  | Yes     | No             | Gets or sets the maximum number of characters for the control.                                                                                                                                               |
| multiline: boolean | Yes     | No             | Gets or sets the multiline support.                                                                                                                                                                          |
| readOnly: boolean  | Yes     | No             | Gets or sets the readonly support.                                                                                                                                                                           |

### Methods

| Method | Supported | Details |
| ------ | --------- | ------- |
| None   | None      | None    |

### Events

| Event       | Supported | Parameter       | Details                                                                                                                             |
| ----------- | --------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| TextChanged | Yes       | **$event**: any | Trigger Click event. ***$event*** parameter is optional and the ***$event***  object vary depending on the type of DOM event.       |
| KeyPress    | Yes       | **$event**: any | Trigger `KeyPress` event. ***$event*** parameter is optional and the ***$event***  object vary depending on the type of DOM event.  |
| LostFocus   | Yes       | **$event**: any | Trigger `LostFocus` event. ***$event*** parameter is optional and the ***$event***  object vary depending on the type of DOM event. |
