I am on version Infragistics WPF 14.2.20142.2024
I have a template field bound to an object with AlternateBinding, and it works just fine (displays and edits with XamComboEditor). When I attempt to upgrade to 15.1, the edit fails. That is, when I select an item in the XamComboEditor, it does not flow through to the underlying object. I get some data binding in the Output.
Here's a snippet that shows the binding in question.
<igWpf:TemplateField BindingType="UseAlternateBinding" Name="StockEvent" Label="Type" AlternateBinding="{Binding Path=StockEvent,Mode=TwoWay}" AlternateBindingRetentionMode="AutoRelease" AllowEdit="True" DisplayTemplate="{StaticResource dtStockEvent}"> <igWpf:TemplateField.EditTemplate> <DataTemplate> <ig:XamComboEditor ItemsSource="{x:Static phrcVm:MainStockViewModel.EventList}" SelectedItem="{igEditors:TemplateEditorValueBinding}" ItemTemplate="{StaticResource dtStockEvent}" IsEditable="False" /> </DataTemplate> </igWpf:TemplateField.EditTemplate></igWpf:TemplateField>
Note: I was able to resolve this by not using AlternateBinding.