PropertySort 列舉

定義

指定在 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
繼承
PropertySort
屬性

欄位

Alphabetical 1

屬性在按字母排列的清單中排序。Properties are sorted in an alphabetical list.

Categorized 2

屬性按照在群組中的分類顯示。Properties are displayed according to their category in a group. 分類則由屬性本身定義。The categories are defined by the properties themselves.

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 0

屬性依照從 TypeDescriptor 擷取的順序顯示。Properties are displayed in the order in which they are retrieved from the TypeDescriptor.

備註

使用這個列舉的成員來設定 PropertyGridPropertySort 屬性值。Use the members of this enumeration to set the value of the PropertySort property of the PropertyGrid.

適用於