public OrdersEditorView(OrdersEditorViewModel viewModel) { InitializeComponent(); // Set the presentation model as this views data context. DataContext = viewModel; }
public OrdersEditorView(OrdersEditorViewModel viewModel) { InitializeComponent(); DataContext = viewModel; }