Silverlight DataFormComboxField绑定

Silverlight DataFormComboxField绑定,silverlight,combobox,dataform,Silverlight,Combobox,Dataform,有人能给我一个简单的例子吗?我如何将DataFormComboxField ItemsSource绑定到DataFormComboxField SelectedItem。我在网上搜索,但没有找到一个类似的例子,即silverlight/wpf的Telerik rad控件 如果第一个DataFormComboBox字段中的数据包含combobox数据项,则最简单的想法如下: <telerik:DataFormComboBoxField ItemSource="{Binding ...}" x

有人能给我一个简单的例子吗?我如何将DataFormComboxField ItemsSource绑定到DataFormComboxField SelectedItem。我在网上搜索,但没有找到一个类似的例子,即silverlight/wpf的Telerik rad控件

如果第一个DataFormComboBox字段中的数据包含combobox数据项,则最简单的想法如下:

<telerik:DataFormComboBoxField ItemSource="{Binding ...}" x:Name="FirstComboBox" />
<telerik:DataFormComboBoxField ItemSource="{Binding SelectedItem.SomeDataList, ElementName=FirstComboBox}" />
如果第二个列表需要从第一个列表派生数据,则必须将第一个combobox重新写入DataFormDataField,并包含一个RadComboBox控件,然后钩住SelectionChanged事件,以获取启用派生数据的键

希望这有帮助