ComponentFactory.Krypton.Toolkit.KryptonHeaderActionList.GetSortedActionItems C# (CSharp) Method

GetSortedActionItems() public method

Returns the collection of DesignerActionItem objects contained in the list.
public GetSortedActionItems ( ) : System.ComponentModel.Design.DesignerActionItemCollection
return System.ComponentModel.Design.DesignerActionItemCollection
        public override DesignerActionItemCollection GetSortedActionItems()
        {
            // Create a new collection for holding the single item we want to create
            DesignerActionItemCollection actions = new DesignerActionItemCollection();

            // This can be null when deleting a control instance at design time
            if (_header != null)
            {
                // Add the list of header specific actions
                actions.Add(new DesignerActionHeaderItem("Appearance"));
                actions.Add(new DesignerActionPropertyItem("HeaderStyle", "Style", "Appearance", "Header style"));
                actions.Add(new DesignerActionPropertyItem("Orientation", "Orientation", "Appearance", "Header orientation"));
                actions.Add(new DesignerActionHeaderItem("Values"));
                actions.Add(new DesignerActionPropertyItem("Heading", "Heading", "Values", "Heading text"));
                actions.Add(new DesignerActionPropertyItem("Description", "Description", "Values", "Header description text"));
                actions.Add(new DesignerActionPropertyItem("Image", "Image", "Values", "Heading image"));
                actions.Add(new DesignerActionHeaderItem("Visuals"));
                actions.Add(new DesignerActionPropertyItem("PaletteMode", "Palette", "Visuals", "Palette applied to drawing"));
            }

            return actions;
        }