public SelectContractorOptionCommand(HomeUserControlViewModel viewModel) { homeUserControlViewModel = viewModel; }
/// <summary> /// Initializes a new instance of the HomeUserControl class. /// </summary> public HomeUserControl() { this.InitializeComponent(); this.homeUserControlViewModel = new HomeUserControlViewModel(); this.DataContext = this.homeUserControlViewModel; this.InitializeFlipViewItemDimensions(); }