Link to home
Start Free TrialLog in
Avatar of Руслан Исланбеков
Руслан Исланбеков

asked on

DataGridComboboxColumn сохраняется не выбранное значение а путь.

Здравствуйте. У меня проблема с получением данных для dataGridComboBoxcolumn


<DataGridComboBoxColumn x:Name="CategoryName" SelectedItemBinding="{Binding Category}" ItemsSource="{Binding Source={StaticResource CategoryView}}"
                                        Header="Категория" Width="*" DisplayMemberPath="CategoryName">
                </DataGridComboBoxColumn>

беру значение с другой базы и оно отображается на dataGridComboBoxcolumn. Только вот при сохранении сохраняется надпись "WpfApp2.Models.Category" не имя а путь.
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Welcome to EE. You will get more chance to be answered if you write your questions in English!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.