Most list boxes allow you to find items within them by typing the first letters of the displayed text. If the typed letters match multiple items, then you can keep adding letters to narrow the search.
I need to do this in a WPF ListBox
. However, the items aren't plain strings -- they're custom objects that I present using a DataTemplate
. I'm hoping that there's a way I can provide a path to the string value that should be used for this textual keyboard navigation of the ListBox
items.
How is this possible?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…