Unknown ItemSource (AutoCompleteBox)

Jul 29, 2010 at 6:28 AM

I have a scenario where the suggestions are unknown. I want to keep a history of what the user has typed before and want to provide those as the ItemSource suggestion in AutoCompleteBox.

There is a way that I found to append the ItemSource of AutoCompleteBox in LostFocus event.

Is there any other way to achieve this? Also I need this ItemSource to be persistence between sessions.