Beispiel #1
0
        public TextBoxSuggestionsViewModel()
            : base()
        {
            m_textBoxSuggestionsSource = new OperatingSystemTextBoxSuggestionsSource();

            m_text = null;
        }
 private void TextBoxSuggestionsSourceChangedHandler(ITextBoxSuggestionsSource textBoxSuggestionsSource)
 {
     if (m_autocompleteController != null)
     {
         m_autocompleteController.AutocompleteSource = textBoxSuggestionsSource;
     }
 }
Beispiel #3
0
        public TextBoxSuggestionsViewModel()
            : base()
        {
            m_textBoxSuggestionsSource = new OperatingSystemTextBoxSuggestionsSource();

            m_text = null;
            m_text = "Windows 10";

            /*for (int i = 0; i < 200; i++)
             * {
             *  Devices.Add(new Device { OperatingSystem = "Windows 10" });
             * }*/
        }