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.
我需要一组导航控件来移动数据(First、Next、Prev、Last 和特定记录)。是否有任何一组控件可以将其连接起来?我是 WPF 的新手,并希望已经存在提供此功能的东西。
不,您需要自己创建它们。当然,这取决于您的数据模型。
WPF 方法是将您的数据绑定到 ListView(或任何 ListItem 容器),然后使用
myList.Items.MoveCurrentToFirst() myList.Items.MoveCurrentToLast() //etc....