예제 #1
0
            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();
            }
예제 #2
0
      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();
      }