How can I customize the sorting of categories in a PropertyGrid
?
If I set either of the following...
propertyGrid.PropertySort = PropertySor
I think this link is useful http://bytes.com/groups/net-c/214456-q-ordering-sorting-category-text-propertygrid
I don't believe there is a way to do this. The only thing that I could find that indicates you might be able to do this is the PropertySort property. If you set it to none, it says that the properties are displayed in the order that they are received from the type descriptor. You might be able to create a proxy type descriptor between your object and the propertygrid, which would then return not only the properties in the correct order, but the properties with the categories in the order that you want them in...