Robert,
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.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
ni**************@exisconsulting.com
"Robert Hooker" <rh*****@rhooker.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Hi all,
I'm looking for a way to sort/order the Category text items in a property
grid. The grids sort the categories by alpha when the catergories are
displayed.
Does anyone at Microsoft (or anywhere else) no of a way that we can
override that sort/order for the category text?
[ We have implemented a fair amount of code to sort/order individual items
in a property grid the way we want them, but haven't found any at all yet
to do the same for Category text...]
Rob.