Reputation: 422
How can I set PropertyGrid's view to "Category View" programmatically or in design-time?
I just can do it in run-time by clicking a button on the PropertyGrid's toolbar.
Upvotes: 2
Views: 366
Reputation: 125292
You can set PropertySort
property of your property grid to Categorized
or CategorizedAlphabetical
at design-time or by code:
this.propertyGrid1.PropertySort = PropertySort.Categorized;
Upvotes: 1