* PropertyGrid.cs : Only check GetPropertiesSupported for properties,
not SelectedObject.
svn path=/trunk/mcs/; revision=60609
+2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
+
+ * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
+ not SelectedObject.
+
2006-05-11 Chris Toshok <toshok@ximian.com>
* Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
}
private void PopulateGridItemCollection (object obj, GridItemCollection grid_item_coll, bool recurse) {
- if (!TypeDescriptor.GetConverter(obj).GetPropertiesSupported())
+ if (!recurse && !TypeDescriptor.GetConverter(obj).GetPropertiesSupported())
return;
PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(obj);
foreach (PropertyDescriptor property in properties) {