Ordering Items in a Property Grid

This is really pathetic. I have tried a ton of stuff to try to order property grid items in VB.NET but it seems there is no way.

I have heard that it is a VB.Net langauge bug, but very low priority on Microsoft's list... Well, its something everyone with a propertygrid wants, so can't Microsoft just add an Attribute for "Order" ?

[339 byte] By [pizzayoyo] at [2007-12-16]
# 1
I assume you are talking about using the property grid within your application?

Have you tried the PropertyGrid.PropertySort property?

DavidM.Kean at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2
Yes, the VB.NET property grid control.

PropertySort isn't what im looking for, i want to order items one by one. I know it can be done in C#, and heard it was a VB.Net language bug by a microsoft employee. But very low priority.

pizzayoyo at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 3
pizzayoyo wrote:
I know it can be done in C#, and heard it was a VB.Net language bug by a microsoft employee. But very low priority.

Can you show us how this can be done in C#? I doubt very much that is has anything to do with the VB language itself. Do you have any further information on this?

DavidM.Kean at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 4
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=9739

Go Here. I talk about sorting Categories and Properties

MattSipes at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 5
Ok, i found how to do it in VB, by converting a C# file (PropertySort.cs) into VB. I still can't sort the categories, but at least i can get the properties in order.
pizzayoyo at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 6
look at my link! I sort categories and properties!
MattSipes at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 7
pizzayoyo wrote:
Ok, i found how to do it in VB, by converting a C# file (PropertySort.cs) into VB. I still can't sort the categories, but at least i can get the properties in order.

I tried to convert the code to VB.net and couldn't get it to work. Can you post the VB code of Propertysort.cs?

MadDawg2020 at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...