コード例 #1
0
        /// <include file='doc\PagedControl.uex' path='docs/doc[@for="PagedControl.PaginateRecursive"]/*' />
        public override void PaginateRecursive(ControlPager pager)
        {
            int itemCount    = IsCustomPaging ? ItemCount : InternalItemCount;
            int itemsPerPage = ItemsPerPage;

            _itemPager = pager.GetItemPager(this, itemCount, itemsPerPage, GetItemWeight());
        }
コード例 #2
0
        internal override void SetControlPage(int page)
        {
            // Custom pagination being turned off.

            _itemPager = null;
            _pagingCharacteristicsChanged = true;
            base.SetControlPage(page);
        }
コード例 #3
0
        internal override void SetControlPage(int page)
        {
            // Custom pagination being turned off.

            _itemPager = null;
            _pagingCharacteristicsChanged = true;
            base.SetControlPage(page);
        }
コード例 #4
0
 /// <include file='doc\PagedControl.uex' path='docs/doc[@for="PagedControl.PaginateRecursive"]/*' />
 public override void PaginateRecursive(ControlPager pager)
 {
     int itemCount = IsCustomPaging ? ItemCount : InternalItemCount;
     int itemsPerPage = ItemsPerPage;
     _itemPager = pager.GetItemPager(this, itemCount, itemsPerPage, GetItemWeight());
 }