Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: PropertyGrid: How do I add property classes to sub property collection (explanation inside)

$
0
0
Hi,

You should add the NewItemTypes attribute over the "Crops" property. Something like
[NewItemTypes( typeof( Banana ), typeof( Apple ), typeof( Carrot ) )]
public ObservableCollection<iCrop> Crops
    {
      get;
      set;
    }
But there is a bug in the current version of the Toolkit. The "NewItemTypes atribute" is not working since v2.3.

Issue https://wpftoolkit.codeplex.com/workitem/21951 has been created

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>