TX Text Control .NET for Windows Forms

TableEventArgs Class

Class
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Inherits
  1. EventArgs
  2. TableEventArgs

Description

The TableEventArgs class provides data for the TextControl.TableCreated, TextControl.TableDeleted and TextControl.TableFormatChanged events.

Syntax

public class TableEventArgs : EventArgs

Examples

The following example uses TableEventArgs.Table while handling TableCreated.

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

Members

Properties

PropertyDescription
TableGets 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.