/// <summary> /// Initializes this instance and adds the View to the docking region. /// </summary> public void Initialize() { AccountsViewModel accmodel = new AccountsViewModel(eventagg); this.regionManager.Regions[RegionNames.DockingRegion].Add(new AccountsView(accmodel), "accountsView"); }
public AccountsView(AccountsViewModel viewModel) { InitializeComponent(); list.DataContext = viewModel; }