Version

PropertySortOrderAttribute Class

Specifies the sort order of a PropertyGridPropertyItem.
Syntax
'Declaration
 
Public Class PropertySortOrderAttribute 
   Inherits System.Attribute
public class PropertySortOrderAttribute : System.Attribute 
Remarks
Only one instance of this 'PropertySortOrderAttribute' may be applied to the PropertyGridPropertyItem. Note that is is possible to create your own custom attribute for specifying the sort order of properties - to ensure that the XamPropertyGrid can recognize your custom attributes they must adhere to the following 2 rules: 1. The attribute class name must be 'PropertySortOrderAttribute' (or 'PropertySortOrder') 2. The attributes constructor must accept a single parameter - a sort order parameter of type int.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also