I have an AutocompleteBox with an ItemSource that brings a List where each entry has the format:
ItemName + ItemPrice
The AutocompleteBox is bound to an Item class where ItemName and ItemPrice are separate fields. With this, the selected composite entry ends up in whichever field is bound to the AutocompleteBox.Text.
AutocompleteBox does not allow use of a DataTemplate (which is understandable - after all it is just a TextBox), where one could separate the ItemName from the ItemPrice into separate controls.
Is there a way to skin this cat? Thanks.
Copyright (c) Marimer LLC