Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid.Attributes Namespace / CategoryOrderAttribute Class
Members


In This Topic
    CategoryOrderAttribute Class
    In This Topic

    Represents an attribute that is set on a property to identify the order in which the decorated property's category appears in the PropertyGrid when the latter is set to Categorized mode.

    Syntax
    'Declaration
     
    <AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=True)>
    Public Class CategoryOrderAttribute 
       Inherits System.Attribute
    'Usage
     
    Dim instance As CategoryOrderAttribute
    [AttributeUsage(AttributeTargets.Class, AllowMultiple=true)]
    public class CategoryOrderAttribute : System.Attribute 
    Remarks

    If a property is not decorated by this attribute, 0 is used by default.

    A property decorated by this attribute must also be decorated by CategoryAttribute. Furthermore, all properties in a given category must use the same value for CategoryOrderAttribute. 

    Inheritance Hierarchy

    System.Object
       System.Attribute
          Xceed.Wpf.Toolkit.PropertyGrid.Attributes.CategoryOrderAttribute

    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