namespace Terminal.Gui; /// /// Arguments for a . Describes a cell for which a rendering /// is being sought /// public class CellColorGetterArgs { /// /// The data table hosted by the control. /// public ITableSource Table { get; } /// /// The index of the row in for which color is needed /// public int RowIndex { get; } /// /// The index of column in for which color is needed /// public int ColIdex { get; } /// /// The hard typed value being rendered in the cell for which color is needed /// public object CellValue { get; } /// /// The textual representation of (what will actually be drawn to the screen) /// public string Representation { get; } /// /// the color scheme that is going to be used to render the cell if no cell specific color scheme is returned /// public ColorScheme RowScheme { get; } internal CellColorGetterArgs (ITableSource table, int rowIdx, int colIdx, object cellValue, string representation, ColorScheme rowScheme) { Table = table; RowIndex = rowIdx; ColIdex = colIdx; CellValue = cellValue; Representation = representation; RowScheme = rowScheme; } }