PropertyOrderAttribute 类

定义

将此属性添加到属性,以指定设计器不应用“分类”或“字母顺序”排序顺序时将使用的位置(例如,如果 PropertyGrid 不重写排序顺序 - 具有 PropertySort=NoSort)

[System.AttributeUsage(System.AttributeTargets.All)]
public class PropertyOrderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type PropertyOrderAttribute = class
    inherit Attribute
Public Class PropertyOrderAttribute
Inherits Attribute
继承
PropertyOrderAttribute
属性

构造函数

名称 说明
PropertyOrderAttribute(Int32)

将此属性添加到属性,以指定设计器不应用“分类”或“字母顺序”排序顺序时将使用的位置(例如,如果 PropertyGrid 不重写排序顺序 - 具有 PropertySort=NoSort)

属性

名称 说明
Order

将此属性添加到属性,以指定设计器不应用“分类”或“字母顺序”排序顺序时将使用的位置(例如,如果 PropertyGrid 不重写排序顺序 - 具有 PropertySort=NoSort)

适用于