namespace Terminal.Gui; /// Event args for the event. public class CellToggledEventArgs : EventArgs { /// Creates a new instance of arguments describing a cell being toggled in /// /// /// public CellToggledEventArgs (ITableSource t, int col, int row) { Table = t; Col = col; Row = row; } /// Gets or sets whether to cancel the processing of this event public bool Cancel { get; set; } /// The column index of the cell that is being toggled /// public int Col { get; } /// The row index of the cell that is being toggled /// public int Row { get; } /// /// The current table to which the new indexes refer. May be null e.g. if selection change is the result of /// clearing the table from the view /// /// public ITableSource Table { get; } }