Exemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     DataContext = new AutoCompleteVM();
     var vm = DataContext as AutoCompleteVM;
     AutoComplete1.ItemsSource = vm.Results;
 }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();
            DataContext = new AutoCompleteVM();
            var vm = DataContext as AutoCompleteVM;

            AutoComplete1.ItemsSource = vm.Results;
        }