PropertySort PropertySort PropertySort PropertySort Enum

定义

指定如何在 PropertyGrid 中对属性进行排序。Specifies how properties are sorted in the PropertyGrid.

public enum class PropertySort
[System.Runtime.InteropServices.ComVisible(true)]
public enum PropertySort
type PropertySort = 
Public Enum PropertySort
继承
属性

字段

Alphabetical Alphabetical Alphabetical Alphabetical 1

属性按字母表顺序排列。Properties are sorted in an alphabetical list.

Categorized Categorized Categorized Categorized 2

属性根据其在组中的类别显示。Properties are displayed according to their category in a group. 类别由属性本身定义。The categories are defined by the properties themselves.

CategorizedAlphabetical CategorizedAlphabetical CategorizedAlphabetical CategorizedAlphabetical 3

属性根据其在组中的类别显示。Properties are displayed according to their category in a group. 该组中的属性按字母顺序进一步排序。The properties are further sorted alphabetically within the group. 类别由属性本身定义。The categories are defined by the properties themselves.

NoSort NoSort NoSort NoSort 0

属性按其在 TypeDescriptor 中检索的顺序显示。Properties are displayed in the order in which they are retrieved from the TypeDescriptor.

注解

使用此枚举的成员可设置的PropertySort PropertyGrid属性的值。Use the members of this enumeration to set the value of the PropertySort property of the PropertyGrid.

适用于