in version 1.7 PropertyGridUtilities.cs, CreateDefaultEditor function, line 195:else if( propertyItem.PropertyType.IsEnum )it gives an exception if PropertyType is null. This means that the propertygrid ends up being empty.For users who try to make it work for the first time, it would be easier if it would use a text box, because this would show them that they are on to something, and then they could improve their code afterwards if they need it to use another editor. else if( propertyItem.PropertyType == null ) editor = new TextBoxEditor();in the beginning of the list of else if's would do this.
Comments: ** Comment from web user: BoucherS **
Comments: ** Comment from web user: BoucherS **
should be fixed in v2.5 and up.