SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an
SPList which of course contains a
SPListItemCollection of the web parts in the web part gallery.
When looping through the items, is there any easy way to get properties of the web parts? Such as AllowClose, CatalogIconImageUrl, etc...
I know I can probably accomplish this using the listItem.OpenBinaryStream etc and loading the xml of the .webpart file, but I wondered if there was an easier way to do this.