Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: Edit dynamic properties in the PropertyGridControl

$
0
0
The PropertyGridControl supports the standard ICustomTypeDescriptor interface. To be able to display dynamic properties, you can implement this interface in the data source class and pass the instance of this class to PropertyGridControl.SelectedObject.

In this example, this interface is implemented in the DictionaryWrapper<T> class. In the GetProperties methods, it returns a collection of custom PropertyDescriptor descendants.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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