public FabricDefectsLineCreationChildWindow(FabricDefectsViewModel viewModel) { InitializeComponent(); DataContext = viewModel; ViewModel = viewModel; ViewModel.Filter = null; if (ViewModel.ValuesObjects != null) { ViewModel.ValuesObjects.Clear(); } }
public FabricInspectionOrderSearchResultsChild(FabricDefectsViewModel viewModel) { InitializeComponent(); DataContext = viewModel; }