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
rowIndexintcolumnIndexintrowTableRowcolumnTableColumncellValuestringmouseEventMouseEventArgs
Properties
CellValue
Gets the text value of the cell.
public string CellValue { get; }
Property Value
Column
Gets the column containing the cell.
public TableColumn Column { get; }
Property Value
ColumnIndex
Gets the column index of the cell.
public int ColumnIndex { get; }
Property Value
MouseEvent
Gets the mouse event that triggered this cell event, if applicable.
public MouseEventArgs? MouseEvent { get; }
Property Value
Row
Gets the row containing the cell.
public TableRow Row { get; }
Property Value
RowIndex
Gets the row index of the cell.
public int RowIndex { get; }