Can some one please show me the equivalent xaml for the XamComboEditor based on the MS ComboBox xaml below? The MS version works great. I'm new to WPF and am a bit lost in all the intricacies of data binding.
Thanks!
<igEditors:XamComboEditor Grid.Row="1" Grid.Column="1" Margin="2" ItemsSource="{Binding Facilities}" DisplayMemberPath="Name" />
<!-- <ComboBox Grid.Row="1" Grid.Column="1" Name="c1ComboBoxFacilityID" Margin="2" ItemsSource="{Binding Facilities}" DisplayMemberPath="Name" SelectedValue="{Binding CurrentBatch.FacilityID}" SelectedValuePath="FacilityID" /> -->
Hello,
I believe that, rather than using SelectedValue and SelectedValuePath, you would use Value and ValuePath, respectively.
<igEditors:XamComboEditor Grid.Row="1" Grid.Column="1" Margin="2" ItemsSource="{Binding Facilities}" DisplayMemberPath="Name" Value="{Binding CurrentBatch.FacilityID}" ValuePath="FacilityID"/>
Please try this out and post back here is this does not work or you have further questions on this topic.
Thanks,
Hi,
ur answer is useful but i cant use this comboeditor name in xaml.cs page .how can i use that name in my cs page ?can u help me
Is this gone in 2011.2? I don't see the properties in the members list (http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/) and my code doesn't compile when I add them.
-Tammy
That resolved the issue. Thank you very much!