public void Initialize() { var viewModel = new AccessoryViewModel(_accessoryRepository); var panel = new AccessoryRegistryPanel(viewModel); _regionManager.Regions["Sales"].Add(panel); }
public AccessoryRegistryPanel(AccessoryViewModel model) { InitializeComponent(); DataContext = model; }