Ejemplo n.º 1
0
        public TechList()
        {
            XamlReader.Load(this);
            PossibleItems.BindDataContext(c => c.DataStore, (DictionaryVM <Guid, string> m) => m.DisplayList);
            PossibleItems.SelectedIndexBinding.BindDataContext((DictionaryVM <Guid, string> m) => m.SelectedIndex);

            SelectedItems.BindDataContext(c => c.DataStore, (DictionaryVM <Guid, string> m) => m.DisplayList);
            SelectedItems.SelectedIndexBinding.BindDataContext((DictionaryVM <Guid, string> m) => m.SelectedIndex);
        }