# TagTextBoxEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (2.5.0.0)

Provides data for the [TagAdded](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagadded) or [TagRejected](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagrejected) or [TagRejected](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagrejected) or [TagSelected](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagselected) events of a [TagTextBox](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox) control

{% tabs %}
{% tab title="C#" %}

```csharp
public class TagTextBoxEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class TagTextBoxEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://314832588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTHCfAYyBPycFG90wsw-4198400543%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media\&token=060b281d-9363-48a1-a0f9-788ad1831e96)TagTextBoxEventArgs(text, index)

Initializes a new instance of the [TagTextBoxEventArgs](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/wisej.web.tagtextboxeventargs) class.

| Name      | Type                                                                | Description                                             |
| --------- | ------------------------------------------------------------------- | ------------------------------------------------------- |
| **text**  | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | Text of the tag that is being notified with the event.  |
| **index** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Index of the tag that is being notified with the event. |

## Properties

### ![](https://314832588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTHCfAYyBPycFG90wsw-4198400543%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media\&token=060b281d-9363-48a1-a0f9-788ad1831e96)Index

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns the index of the tag being added, removed, rejected, or selected.

### ![](https://314832588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTHCfAYyBPycFG90wsw-4198400543%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media\&token=060b281d-9363-48a1-a0f9-788ad1831e96)Text

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Text of the tag that is being added, removed, rejected, or selected.

## Used By

| Name                                                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [TagTextBoxEventHandler](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/wisej.web.tagtextboxeventhandler) | Represents the method that will handle the [TagAdded](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagadded) or [TagRejected](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagrejected) or [TagRejected](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagrejected) or [TagSelected](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox/..#tagselected) events of a [TagTextBox](https://docs.wisej.com/api/v2.5/wisej.web/editors/tagtextbox) control. |
