PropertySort 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定在 PropertyGrid 中屬性如何排序。
此列舉支援其成員值的位元組合。
public enum class PropertySort
C#
[System.Runtime.InteropServices.ComVisible(true)]
public enum PropertySort
C#
public enum PropertySort
C#
[System.Flags]
public enum PropertySort
[<System.Runtime.InteropServices.ComVisible(true)>]
type PropertySort =
type PropertySort =
[<System.Flags>]
type PropertySort =
Public Enum PropertySort
- 繼承
- 屬性
名稱 | 值 | Description |
---|---|---|
Alphabetical | 1 | 屬性在按字母排列的清單中排序。 |
Categorized | 2 | 屬性按照在群組中的分類顯示。 分類則由屬性本身定義。 |
CategorizedAlphabetical | 3 | 屬性按照在群組中的分類顯示。 屬性在群組內又進一步以字母順序來排序。 分類則由屬性本身定義。 |
NoSort | 0 | 屬性依照從 TypeDescriptor 擷取的順序顯示。 |
使用這個列舉的成員來設定 PropertySort 的 PropertyGrid屬性值。
產品 | 版本 |
---|---|
.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 |