自动滚动到列表框ListBox中的多个选定项 [英] Auto Scroll to the multiple selected item in the listbox ListBox

查看:80
本文介绍了自动滚动到列表框ListBox中的多个选定项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我想知道是否有人有例子或可以指导我如何自动放置选定的项目而无需向下滚动.

非常感谢您的帮助.

Hello,


I''m wondering if anyone has an example or can guide me on how to position selected item automatically WITHOUT SCROLLING DOWN.

Your help is greatly appreciated.

推荐答案

使用ListBox.TopIndex属性指定显示在列表框顶部的项目.
Use the ListBox.TopIndex property to specify the item that is displayed at the top of the listbox.


这篇关于自动滚动到列表框ListBox中的多个选定项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆