private void ControlsCollection_Removed(int index, object value) { ODFFormControl ctrl = value as ODFFormControl; this.Node.RemoveChild(ctrl.Node); ctrl.RemoveFromContentCollection(); }
private static void ControlsCollection_Removed(int index, object value) { ODFFormControl ctrl = (ODFFormControl)value; ctrl.Node.Remove(); ctrl.RemoveFromContentCollection(); }
private void ControlsCollection_Clearing() { for (int i = 0; i < _controls.Count; i++) { ODFFormControl ctrl = _controls[i] as ODFFormControl; if (ctrl != null) { this.Node.RemoveChild(ctrl.Node); ctrl.RemoveFromContentCollection(); } } }
private void ControlsCollection_Clearing() { for (int i = 0; i < Controls.Count; i++) { ODFFormControl ctrl = Controls[i]; if (ctrl != null) { ctrl.Node.Remove(); ctrl.RemoveFromContentCollection(); } } }