Ordering Items in a Property Grid
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" ?
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" ?
Have you tried the PropertyGrid.PropertySort property?
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 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?
Go Here. I talk about sorting Categories and Properties
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?