如何将选定的值路径添加到 struct/class 中的两个项目?在下面的示例中,我想将 SelectedValuePath 添加为 Id1*Id2
this.cboXXX.ItemsSource = Employee;
this.cboXXX.DisplayMemberPath = "Name";
*this.cboXXX.SelectedValuePath = "Id1" + "*" + "Id2";* ??
public struct Employee
{
public int Id1;
public int Id2;
public string Name;
}