ComponentFactory.Krypton.Toolkit.KryptonRadioButtonActionList.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 (_radioButton != null)
            {
                // Add the list of radio button specific actions
                actions.Add(new DesignerActionHeaderItem("Operation"));
                actions.Add(new DesignerActionPropertyItem("Checked", "Checked", "Operation", "Checked state"));
                actions.Add(new DesignerActionPropertyItem("AutoCheck", "AutoCheck", "Operation", "AutoCheck of other instances."));
                actions.Add(new DesignerActionHeaderItem("Appearance"));
                actions.Add(new DesignerActionPropertyItem("LabelStyle", "Style", "Appearance", "Label style"));
                actions.Add(new DesignerActionPropertyItem("Orientation", "Orientation", "Appearance", "Visual orientation"));
                actions.Add(new DesignerActionHeaderItem("Values"));
                actions.Add(new DesignerActionPropertyItem("Text", "Text", "Values", "Radio button text"));
                actions.Add(new DesignerActionPropertyItem("ExtraText", "ExtraText", "Values", "Radio button extra text"));
                actions.Add(new DesignerActionPropertyItem("Image", "Image", "Values", "Radio button image"));
                actions.Add(new DesignerActionHeaderItem("Visuals"));
                actions.Add(new DesignerActionPropertyItem("PaletteMode", "Palette", "Visuals", "Palette applied to drawing"));
            }

            return actions;
        }