namespace Sonex.Client.Controls.DataGridView
{
    // Odpowiedzialnosc pliku: lekki model wskazujacy konkretna komorke (kolumna + indeks wiersza).
    public sealed partial class DataGridView
    {
        public class CellVector
        {
            public CellVector(Column columnHeader, int rowIndex)
            {
                Header = columnHeader;
                RowIndex = rowIndex;
            }
            public Column Header { get; set; }
            public int ColumnIndex => Header.Index;
            public int RowIndex { get; set; }
        }
    }
}
