CollectionEditor leads to "Object does not match target type."
Posted
by smwikipedia
on Stack Overflow
See other posts from Stack Overflow
or by smwikipedia
Published on 2010-04-08T05:19:30Z
Indexed on
2010/04/08
5:23 UTC
Read the original article
Hit count: 363
c#
|collectioneditor
I have a custom control which has a property of type Collection< System.Drawing.Point >. When I use CollectionEditor to edit this property, the CollectionEditor window shows "Object does not match target type." for the "X" and "Y" properties. But if I use System.Drawing.PointF instead, there's no failure.
Could anyone tell me why?
© Stack Overflow or respective owner