DotNetKit.Wpf.AutoCompleteComboBox icon indicating copy to clipboard operation
DotNetKit.Wpf.AutoCompleteComboBox copied to clipboard

Don't select item on key down/up

Open bugproof opened this issue 5 years ago • 2 comments

Would be nice to have a setting to only select on pressing Enter, currently, when you press up/down arrows it changes the selection.

bugproof avatar Jun 21 '19 11:06 bugproof

Thanks. It would be nice.

Modifying the behavior of SelectedItem seems difficult.

Instead, it may be easy to make a property to hold the committed item, and update the property by watching Enter/Click events.

This mechanism can be implemented outside the library by using attached dependency property. I will try when I feel like doing.

vain0x avatar Jun 24 '19 12:06 vain0x

Yes, I was trying to modify this behaviour but it's all internal. If you have any idea how to do this with the original combo box that would be great. Currently, all I can think of is implementing your own Combobox using listbox and textbox.

https://github.com/dotnet/wpf/issues/1044

bugproof avatar Jun 24 '19 22:06 bugproof