閱讀英文

共用方式為


PropertySort 列舉

定義

指定在 PropertyGrid 中屬性如何排序。

此列舉支援其成員值的位元組合。

C#
[System.Runtime.InteropServices.ComVisible(true)]
public enum PropertySort
C#
public enum PropertySort
C#
[System.Flags]
public enum PropertySort
繼承
PropertySort
屬性

欄位

名稱 Description
Alphabetical 1

屬性在按字母排列的清單中排序。

Categorized 2

屬性按照在群組中的分類顯示。 分類則由屬性本身定義。

CategorizedAlphabetical 3

屬性按照在群組中的分類顯示。 屬性在群組內又進一步以字母順序來排序。 分類則由屬性本身定義。

NoSort 0

屬性依照從 TypeDescriptor 擷取的順序顯示。

備註

使用這個列舉的成員來設定 PropertySortPropertyGrid屬性值。

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9