Ejemplo n.º 1
0
 private StringPropertyControl AddStringProperty(Grid grid, Node property, bool isConnectable)
 {
     StringPropertyControl control = new StringPropertyControl(property as ns.Base.Plugins.Properties.Property, isConnectable);
     control.TextChanged += StringPropertyControlTextChanged;
     SetControlGridPosition(control, grid);
     return control;
 }
Ejemplo n.º 2
0
 private StringPropertyControl AddStringProperty(Grid grid, string name, string content)
 {
     StringPropertyControl control = new StringPropertyControl(name, content);
     control.Name = name;
     control.TextChanged += StringPropertyControlTextChanged;
     SetControlGridPosition(control, grid);
     return control;
 }