IUANode.Remove(child)
Removes a project node that corresponds to the C# object passed in the argument.
void Remove(IUANodechild);
Arguments
- child(IUANode)
- A C# object that corresponds to the project node to add.
Example
The following example shows that the
MyLabel
label child of the Panel1
object is removed from the project:
var myPanel = Project.Current.FindObject("Panel1"); var objToRemove = Project.Current.FindObject("MyLabel"); myPanel.Remove(objToRemove);
Provide Feedback