Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何从 SilverLight 3 beta 中的常规列表中填充 DataFormComboBoxField?在线任何地方似乎都没有有意义的文档或示例。
谢谢~史蒂夫
实际上它变得很简单
private void dfEmailForm_Loaded(object sender, RoutedEventArgs e) { DataFormComboBoxField dfc = new DataFormComboBoxField(); dfc.ItemsSource = new List<string>() { "Type A", "Type B" }; dfc.ItemsSource = lstEmailType; }
但它确实必须在数据表单的已加载区域中。