ComponentFactory.Krypton.Toolkit.KryptonPanelActionList.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 (_panel != null)
            {
                // Add the list of panel specific actions
                actions.Add(new DesignerActionHeaderItem("Appearance"));
                actions.Add(new DesignerActionPropertyItem("PanelBackStyle", "Back style", "Appearance", "Background style"));
                actions.Add(new DesignerActionHeaderItem("Visuals"));
                actions.Add(new DesignerActionPropertyItem("PaletteMode", "Palette", "Visuals", "Palette applied to drawing"));
            }

            return actions;
        }