Partager via


PropertyOrderAttribute Class

Definition

add this attribute to a property to specify the position that will be used when designer doesnt apply a "Categorized" or "Alphabetical" sort order (e.g. when PropertyGrid doesnt override the sort order - has 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
Inheritance
PropertyOrderAttribute
Attributes

Constructors

PropertyOrderAttribute(Int32)

Properties

Order

Applies to