Ejemplo n.º 1
0
        private void InputBox_OnTextChanged(object sender, TextChangedEventArgs e)
        {
            Console.WriteLine("InputBox_OnTextChanged:{0}", e.Changes);
            var keyStr = InputBox.Text;

            if (string.IsNullOrEmpty(keyStr))
            {
                HintPanel.Visibility = Visibility.Hidden;
                return;
            }
            HintPanel.RenderResultList(keyStr);
        }
Ejemplo n.º 2
0
 private void HintPanelHide()
 {
     HintPanel.Visibility = Visibility.Hidden;
     HintPanel.RenderResultList(null);
 }