Xceed Toolkit Plus for WPF v4.6 Documentation
CategoryOrder Property


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.PropertyGrid Namespace > CustomPropertyItem Class : CategoryOrder Property
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.
Syntax
'Declaration
 
Public Property CategoryOrder As Integer
'Usage
 
Dim instance As CustomPropertyItem
Dim value As Integer
 
instance.CategoryOrder = value
 
value = instance.CategoryOrder
public int CategoryOrder {get; set;}

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 and CategoryOrderAttribute, 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

See Also

Reference

CustomPropertyItem Class
CustomPropertyItem Members