This allows to optimize AutoSizeColumns() in the common case when all cells in the same column can be measured using the same attribute.