Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Silverlight组合框没有';束缚_C#_Wpf_Silverlight_Combobox - Fatal编程技术网

C# Silverlight组合框没有';束缚

C# Silverlight组合框没有';束缚,c#,wpf,silverlight,combobox,C#,Wpf,Silverlight,Combobox,当我编辑我的SilverlightDataForm时, 我的组合框上的绑定丢失了 不同的我已经采取了,但失败了 以编程方式在代码隐藏上绑定我的组合框 comboBox1.SelectedItem=SelectedItem.ItemStatus 我尝试将此代码放在ContentLoaded和SelectionChanged上,但都不起作用 注: 这3个组合框是级联组合框 请提供帮助。我已经采取了不同的措施,但失败了-这意味着什么?请尝试使用combobox1.SelectedValue而不是c

当我编辑我的
Silverlight
DataForm时, 我的
组合框上的绑定丢失了


不同的我已经采取了,但失败了

以编程方式在代码隐藏上绑定我的
组合框

  • comboBox1.SelectedItem=SelectedItem.ItemStatus
    
    • 我尝试将此代码放在ContentLoaded和SelectionChanged上,但都不起作用
  • 注: 这3个组合框是级联组合框


    请提供帮助。

    我已经采取了不同的措施,但失败了-这意味着什么?请尝试使用combobox1.SelectedValue而不是combobox1.SelectedItem