Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
670
XamComboEditor and OneWay binding
posted

Hello,

I have a problem with the OneWay BindingMode using a XamComboEditor : the selected item is updated only the first time I change the source.

If I use the TwoWay mode it's working perfectly (but the source is updated if I change the selected item and that's not what I want).

Here's my code :

<igEditors:XamComboEditor ValuePath="ColonneName" DisplayMemberPath="LibelleSource" ItemsSource="{Binding ColGroupes}" Value="{Binding ParametresEtat/fldString1, Mode=OneWay}" HorizontalAlignment="Left" Margin="12,48,0,0" Width="155" Height="19.555" VerticalAlignment="Top" Name="cbGroupe">
  <igEditors:XamComboEditor.ComboBoxStyle>
    <Style TargetType="{x:Type ComboBox}">
      <Setter Property="IsSynchronizedWithCurrentItem" Value="true"/>
    </Style>
  </igEditors:XamComboEditor.ComboBoxStyle>
</igEditors:XamComboEditor>

Please do you have any suggestion ?

Thanks

Parents Reply Children