How can I customize category sorting on a PropertyGrid?

前端 未结 4 618
深忆病人
深忆病人 2021-02-07 01:49

How can I customize the sorting of categories in a PropertyGrid?

If I set either of the following...

propertyGrid.PropertySort = PropertySor         


        
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-07 02:38

    A small variation on the '\t' trick described above, I just tried it with carriage return characters ('\r') instead. It seems to work and avoids the tooltip problem caused by the extra space introduced by a tab.

提交回复
热议问题