private void OptionCollection_Removed(int index, object value) { ODFOption opt = value as ODFOption; if (opt !=null) Node.RemoveChild(opt.Node); }