Gets a value representing the order in which the category containing this property will appear in the PropertyGrid relative to the other categories when the PropertyGrid is set to Categorized mode.
'Declaration
Public Property CategoryOrder As Integer
'Usage
Dim instance As CustomPropertyItem
Dim value As Integer
instance.CategoryOrder = value
value = instance.CategoryOrder
Property Value
A value representing the order in which the category containing this property will appear in the PropertyGrid relative to the other categories when the PropertyGrid is set to Categorized mode.
Remarks
In order for category order to be respected, all properties from a given category must be decorated by both CategoryAttributed andCategoryOrderAttribute, and the same value must be used for CategoryOrderAttribute by each property in that category.
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, 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