private void removeAllChildren() { if (behaviour && behaviour.ChildCount() > 0) { behaviour.ClearChildren(); Output.RemoveAllInputs(); } }