Files to look at:
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)
This example shows how to display an object's properties in PropertyGridControl in a custom order. Properties are sorted via the CustomPropertyDescriptors event.
By default, properties are sorted according to their display names. To display properties in a custom order, the properties are sorted, and then the sorted collection is assigned to the event's Properties parameter.