TableEventArgs Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.dll
- Inherits
- Event
Args - Table
Event Args
- Event
Description
The TableEventArgs class provides data for the TextControl.TableCreated, TextControl.TableDeleted and TextControl.TableFormatChanged events.
Syntax
public class TableEventArgs : EventArgsPublic Class TableEventArgs
Inherits EventArgsExamples
The following example uses TableEventArgs.Table while handling TableCreated.
textControl.TableCreated += (_, e) =>
{
e.Table?.Select();
};AddHandler textControl.TableCreated,
Sub(sender, e)
If e.Table IsNot Nothing Then e.Table.Select()
End SubMembers
Properties
| Property | Description |
|---|---|
| Table | 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. |