Esempio n. 1
0
        public ZenfolioBrowserControl()
        {
            InitializeComponent();

            // Create UI-friendly wrappers around the
            // raw data objects (i.e. the view-model).
            _viewModel = new ZenfolioBrowserViewModel();

            // Let the UI bind to the view-model.
            base.DataContext = _viewModel;
        }
Esempio n. 2
0
 public SearchFamilyTreeCommand(ZenfolioBrowserViewModel familyTree)
 {
     _familyTree = familyTree;
 }