Ejemplo n.º 1
0
        public ShellView( ShellViewModel viewModel )
        {
            InitializeComponent();

            // Set the ViewModel as this View's data context.
            this.DataContext = viewModel;
        }
 public ShellView(ShellViewModel viewModel)
 {
     this.InitializeComponent();
     this.DataContext = viewModel;
 }
 public MenuRegistry(IUnityContainer container, SearchViewModel searchViewModel, ShellViewModel shellViewModel)
 {
     this.container = container;
     this.searchViewModel = searchViewModel;
     this.shellViewModel = shellViewModel;
 }