public void CustomizeView(HelloUI model, NodeView nodeView) { var ui = new MyCustomControl(); nodeView.inputGrid.Children.Add(ui); ui.DataContext = model; }
public void CustomizeView(HelloUI model, NodeView nodeView) { dynamoViewModel = nodeView.ViewModel.DynamoViewModel; helloUiNode = model; var ui = new MyCustomControl(); nodeView.inputGrid.Children.Add(ui); ui.DataContext = model; }