手风琴SelectedIndex在最后选择的项目的代码后面吗? [英] Accordion SelectedIndex behind code of last item selected?
本文介绍了手风琴SelectedIndex在最后选择的项目的代码后面吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在后面的代码中将手风琴的SelectedIndex设置为与用户单击的相同索引?
is it possible in behind code to set the SelectedIndex of an accordion to the same Index of what the user just click?
推荐答案
Accordion.SelectedIndex = -1;
Accordion.RequireOpenedPane = false;
这篇关于手风琴SelectedIndex在最后选择的项目的代码后面吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文