# TableEventArgs.Table Property

> Gets an object that represents the table which causes the event. It is of the type Table. If this object has been obtained through the TableDeleted event, only the Table.ID property has a valid value.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > TableEventArgs.Table Property
- **360 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tableeventargs/table-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tableeventargs/table-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tableeventargs/table-property/llms-full.txt

---

### Description

Gets an object that represents the table which causes the event. It is of the type [Table](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/table/llms-full.txt). If this object has been obtained through the TableDeleted event, only the [Table.ID](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/table/id-property/llms-full.txt) property has a valid value.

### Syntax

```csharp
public Table Table { get; }
```

```vbnet
Public ReadOnly Property Table As Table
```

### Examples

The following example uses `TableEventArgs.Table` while handling `TableCreated`.

```csharp
textControl.TableCreated += (_, e) =>
{
    e.Table?.Select();
};
```

```vbnet
AddHandler textControl.TableCreated,
    Sub(sender, e)
        If e.Table IsNot Nothing Then e.Table.Select()
    End Sub
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TableEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tableeventargs/llms-full.txt)
- **Next:** [TableOfContents Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tableofcontents/llms-full.txt)
