DenysVuika / WPG

WPF PropertyGrid Control
Apache License 2.0
101 stars 47 forks source link

Thrown exception on property with null value #12

Open pfuernstahl opened 13 years ago

pfuernstahl commented 13 years ago

An exception is thrown in PropertyItemValue.cs (line 92: PropertyDescriptorCollection descriptors = property.Converter.GetProperties(value)) when _hasSubProperties = true and the value of the property is null.

This happened in my case if

public byte[] TestProperty { get; set; }

is null.

StefanSturm commented 11 years ago

Hello everybody,

anybody knows how to fix this Problem?

Thank you.