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
580
ComboBoxField in XamDataGrid: get selected item MVVM
posted

Hi,

I would like to have a ComboBoxField inside a XamDataGrid. I did it like that:

<dataPresenter:ComboBoxField Label="Test" ItemsSource="{Binding Path=List, UpdateSourceTrigger=PropertyChanged}" DisplayMemberPath="Description" Width="Auto"/>

but how can I get the selected value in my view model? There is no SelectedItem attribute like in a wpf Combobox.

best

Ingmar