文章 2017-10-12 来自:开发者社区

SilverLight:基础控件使用(2)-ComboBox,ListBox控件

ylbtech-SilverLight-Basic-Control:基础控件使用(2)-ComboBox,ListBox控件  直接在 XAML 代码中设置 Items 和通过后台代码绑定数据源 ComboBox,ListBox 1.A,返回顶部ComboBox(下拉列表框) 1, <ComboBox Height="23" HorizontalAlignment="Left" M...

文章 2011-09-05 来自:开发者社区

Silverlight 之ComboBox控件选中项

List<Book> books = e.Result; this.ComboBox1.ItemsSource = books; this.ComboBox1.DisplayMemberPath = "bookID"; this.ComboBox1.SelectedIndex = i; // 遍历有的 然后再取 序号 这样的话才可以为combox 赋值 private int ...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。