string str1 = ((ComboBoxItem)this.cboBoxRate1553B.Items[this.cboBoxRate1553B.SelectedIndex]).Tag.ToString(); string str2 = (this.cboBoxRate1553B.SelectedItem as ComboBoxItem).Tag.ToString(); 不知道为什么只能先转换为var 或者string类型,再转化为其他类型. I have a combo box lik
Smart Tag提供了一些扩展功能用于简化指定某些属性的程序,比如下面这几项: Application Theme Data Context Image Gallery Convert to DXWindow and Convert to DXRibbonWindow Application Theme Application Theme应用选中的主题(默认是DeepBlue),包括设计时和运行时. 当应用主题,Smart Tag会在你的应用程序中生成这样一段代码: <?xml version
自定义多选MultiCombox,可以实现下拉列表多选 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; namespace MES.Plugin.Report.Controls { public