C# 将PropertyGrid默认视图设置为";“类别视图”;
如何以编程方式或在设计时将PropertyGrid的视图设置为“类别视图” 我只需在运行时单击PropertyGrid工具栏上的按钮即可完成此操作。您可以在设计时或按代码将属性网格的属性设置为C# 将PropertyGrid默认视图设置为";“类别视图”;,c#,.net,winforms,propertygrid,C#,.net,Winforms,Propertygrid,如何以编程方式或在设计时将PropertyGrid的视图设置为“类别视图” 我只需在运行时单击PropertyGrid工具栏上的按钮即可完成此操作。您可以在设计时或按代码将属性网格的属性设置为Categorized或categorizedalphabetial: this.propertyGrid1.PropertySort = PropertySort.Categorized;
Categorized
或categorizedalphabetial
:
this.propertyGrid1.PropertySort = PropertySort.Categorized;