111,125
社区成员
发帖
与我相关
我的任务
分享
// 直接使用 ListBoxItem 时
ListBoxItem item = new ListBoxItem();
// ListBoxItem item = this.listBox1.Items[listBox1.Items.Count - 1];
this.listBox1.ScrollIntoView(item);
// 如果是数据绑定的
object[] objs;
this.listBox1.ScrollIntoView(objs[index]);
