Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,是否可以为 silverlight datapager 控件设置页数,而没有 datpager 的 itemsource。
如果不可能,是否有任何其他等效控件可用作 silverlight 中的数据分页器
从后面的代码中实现 IPagedCollectionView,您将可以访问 TotalItemCount 属性,该属性允许您设置项目总数。然后,您可以设置页面大小和当前所在的页面索引。ItemCount 将是返回的项目总数,数据分页器应负责其余部分。