/// <summary>Returns the cell and column index of this cell</summary> public static GridAddressData GridAddress(this DataGridCell cell) { return(new GridAddressData { CellIndex = cell.Column.DisplayIndex, RowIndex = cell.GetRow().GetIndex(), }); }