using System; namespace Terminal.Gui { /// /// Event args for the event. /// public class CellToggledEventArgs : EventArgs { /// /// 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; } /// /// 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; } /// /// Gets or sets whether to cancel the processing of this event /// public bool Cancel { get; set; } /// /// 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; } } }