Ejemplo n.º 1
0
 private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (searchTrigger == null)
     {
         searchTrigger = new WaitForTrigger(750, (p) => {
             if (fontInfos != null)
             {
                 fontInfos.SearchToken = edSearch.Text;
                 fontInfos.Search();
             }
         });
     }
     searchTrigger.Trigger();
 }
Ejemplo n.º 2
0
        private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
        {
            if (searchTrigger == null)
            {
                searchTrigger = new WaitForTrigger(750, (p) => {
                    if (fontInfos != null)
                    {

                        fontInfos.SearchToken = edSearch.Text;
                        fontInfos.Search();
                    }
                });
            }
            searchTrigger.Trigger();
        }