public CellEnumerator(UICellCollection cellCollection) { if (cellCollection == null) { throw new ArgumentNullException("cellCollection"); } m_cellCollection = cellCollection; m_version = cellCollection.m_version; m_itemsCount = cellCollection.Count; m_fixedCellCount = cellCollection.m_fixedPanel.Children.Count; this.Reset(); }
public CellEnumerator( UICellCollection cellCollection ) { if( cellCollection == null ) throw new ArgumentNullException( "cellCollection" ); m_cellCollection = cellCollection; m_version = cellCollection.m_version; m_itemsCount = cellCollection.Count; m_fixedCellCount = cellCollection.m_fixedPanel.Children.Count; this.Reset(); }