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
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
Alphabetical | 1 | 属性按字母表顺序排列。 |
Categorized | 2 | 属性根据其在组中的类别显示。 类别由属性本身定义。 |
CategorizedAlphabetical | 3 | 属性根据其在组中的类别显示。 该组中的属性按字母顺序进一步排序。 类别由属性本身定义。 |
NoSort | 0 | 属性按其在 TypeDescriptor 中检索的顺序显示。 |
使用此枚举的成员设置 的 属性PropertyGrid的值PropertySort。
产品 | 版本 |
---|---|
.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 |