autocompletebox

Silverlight 5 + AutoCompleteBox = Bug

孤街醉人 提交于 2019-11-28 13:54:50
Just installed SL5 and the toolkit, that were released few days ago. The bug happens when you set the Text property of the AutoCompleteBox to string.Empty. It causes the AutoCompleteBox to be in a buggy state. To reproduce the bug: add an AutoCompleteBox and a Button to the main page. Register to the TextChanged and Click events. This is the code-behind: public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void button1_Click(object sender, RoutedEventArgs e) { auto.Text = string.Empty; } private void auto_TextChanged(object sender, RoutedEventArgs