public AssetStoreUserControl() { InitializeComponent(); ViewModel = new AssetStoreViewModel(); this.DataContext = ViewModel; }
public AssetStoreWindow(AssetStoreViewModel viewModel) : this() { DataContext = viewModel; }