Search as You Type in GridViewComboBoxColumn

0 Answers 111 Views
ComboBox GridView
Igor.Antohin
Top achievements
Rank 1
Iron
Igor.Antohin asked on 27 Mar 2022, 11:20 AM | edited on 27 Mar 2022, 11:23 AM

Hello.

How to make GridViewComboBoxColumn search by DisplayMemberPath?

ItemsSource - Dictionary<Guid, string>

While searching :System.InvalidCastException Message=Invalid cast from "System.String" to "System.Guid". 


ItemsSource="{Binding Directions}"
DataMemberBinding="{Binding Direction}" 
SelectedValueMemberPath="Key"
DisplayMemberPath="Value"

IsLightweightModeEnabled="True" doesn't help 

Code in attach.

No answers yet. Maybe you can help?

Tags
ComboBox GridView
Asked by
Igor.Antohin
Top achievements
Rank 1
Iron
Share this question
or