it is rather strange situation.
what do you mean by "strange situation"? are there any exceptions. Is it
possible that the setter is called an value of other type then ArrayList is
specified?
If you have PropertyDescriptors - check what returns GetPropertyType of the
PropertyDescriptor.
--
Vadym Stetsyak aka Vadmyst
"Marius" <Ma****@discussions.microsoft.com> wrote in message
news:82**********************************@microsof t.com...
I have a class:
public class ZType : ICustomTypeDescriptor
{
private ArrayList el = new ArrayList();
[Editor(typeof(MyCustomEditorTypes), typeof(UITypeEditor)),
Browsable(true), Category("Data")]
public ArrayList Elements
{
get { return this.el; }
set { this.el = value; }
}
.....
}
I'm placing this into a propertyGrid and for some machines the setter
fails. Any ideeas?
Thanks