列表框控制支持或未更改选定索引 [英] list box contorl supports or not selected index changed
本文介绍了列表框控制支持或未更改选定索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以像在ddl控件中那样使用在列表框中更改的选定索引吗?我已经用列表框替换了我的ddl,并且可能进行了多项选择,但是我使用了按钮来触发该事件以进行多项选择.除了按钮单击之外,我是否可以不使用任何其他事件?
Can I use selected index changed in listbox like in ddl control and what''s the alternative. I have replaced my ddl with listbox and multiple selection possible but I have used button to fire the event for multiselection. Can I not use any other event other then button click
推荐答案
^ ],由DropDownList
和 ^ ],具有SelectedIndexChanged
事件,其结果也由所述控件继承.对于多选,每次您对控件进行选择时都会触发该事件.
The ListControl Class[^], which is inherited byDropDownList
and ListBox[^], has aSelectedIndexChanged
event, which as a result, is also inherited by the said controls. In the case of multiple selection, the event will get fired everytime you make a selection to the control.
首先,请阅读以下内容: ^ ].乱码的一些示例是我已用列表框替换了ddl",用于触发事件以进行多选的按钮".
显然,这个问题"无法回答.
—SA
First, read this: http://en.wikipedia.org/wiki/Gibberish[^]. Some examples of gibberish are "I have replaced my ddl with listbox", "used button to fire the event for multiselection".
Apparently, this "question" cannot be answered.
—SA
这篇关于列表框控制支持或未更改选定索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文