public T GetItem <T>(string path) where T : FormItem { if (path == null) { throw new ArgumentNullException(); } T fi = formGroup.GetItem <T>(path); if (fi == null) { throw new ArgumentException("path"); } return(fi); }