public void CustomizeView(HelloUI model, NodeView nodeView)
        {
            var ui = new MyCustomControl();

            nodeView.inputGrid.Children.Add(ui);
            ui.DataContext = model;
        }
示例#2
0
        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;
        }