# TextChangeSource enum

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md) · Since v2.12

```cs
public enum TextChangeSource
```

Identifies what initiated a text change in events such as [TextBox.TextChanging](https://eto.picoe.ca/api/type/eto.forms.textbox/textchanging.md).

## Values

| Name | Value | Description |
| --- | --- | --- |
| Unknown | 0 | The change came from the user, but the specific origin could not be determined by the platform. |
| Programmatic | 1 | The change was made programmatically, e.g. by setting the [TextControl.Text](https://eto.picoe.ca/api/type/eto.forms.textcontrol/text.md) property. |
| Keyboard | 2 | The user typed the change using the keyboard. |
| Composition | 3 | The change was committed by an input method / text composition (IME), e.g. dead keys or CJK input. |
| Paste | 4 | The change was a paste from the clipboard. |
| Cut | 5 | The change was a cut to the clipboard (the selected text is removed). |
