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

New Post: PropertyGrid Categorization with Access Modifiers

$
0
0
Hi,

From a small sample project where the PropertyGrid.SelectedObject = MyClass, I can see that only the public properties are displayed in the propertyGrid. Here's the reason : in "ObjectContainerHelperBase.GetPropertyDescriptors" method, this line is used :
descriptors = TypeDescriptor.GetProperties( instance.GetType() );
The instance type is the MyClass type and this system method returns only the public properties into the descriptors.

Viewing all articles
Browse latest Browse all 2157

Latest Images

Trending Articles



Latest Images

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