Table of Contents

Class TableCellEventArgs

Namespace
SharpConsoleUI.Events
Assembly
SharpConsoleUI.dll

Event arguments for table cell events (click, double-click).

public class TableCellEventArgs : EventArgs
Inheritance
TableCellEventArgs
Inherited Members

Constructors

TableCellEventArgs(int, int, TableRow, TableColumn, string, MouseEventArgs?)

Initializes a new instance of the TableCellEventArgs class.

public TableCellEventArgs(int rowIndex, int columnIndex, TableRow row, TableColumn column, string cellValue, MouseEventArgs? mouseEvent)

Parameters

rowIndex int
columnIndex int
row TableRow
column TableColumn
cellValue string
mouseEvent MouseEventArgs

Properties

CellValue

Gets the text value of the cell.

public string CellValue { get; }

Property Value

string

Column

Gets the column containing the cell.

public TableColumn Column { get; }

Property Value

TableColumn

ColumnIndex

Gets the column index of the cell.

public int ColumnIndex { get; }

Property Value

int

MouseEvent

Gets the mouse event that triggered this cell event, if applicable.

public MouseEventArgs? MouseEvent { get; }

Property Value

MouseEventArgs

Row

Gets the row containing the cell.

public TableRow Row { get; }

Property Value

TableRow

RowIndex

Gets the row index of the cell.

public int RowIndex { get; }

Property Value

int