Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: PropertyDescriptor doesn't work for PropertyGrid in community edition?

$
0
0
I need dynamic object binding to PropertyGrid control, so I created a class that inherits PropertyDescriptor, but the only properties/methods gets called are NameHashCode and PropertyType.

GetValue, SetValue, IsReadOnly or any other - never gets called. What am I missing here? So I tried different approach:
var cpi = new CustomPropertyItem();
// set cpi properties as needed...
MyPropertyGrid.Properties.Add(cpi);
But I get compilation error (cannot access CustomPropertyItem's internal constructor).

So what's going on? these features are blocked in the community edition or something like that?

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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