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 (_splitContainer != null)
{
// Add our own action to the end
actions.Add(new DesignerActionHeaderItem("Appearance"));
actions.Add(new DesignerActionPropertyItem("ContainerBackStyle", "Back style", "Appearance", "Background style"));
actions.Add(new DesignerActionHeaderItem("Splitter"));
actions.Add(new KryptonDesignerActionItem(new DesignerVerb(_action, new EventHandler(OnOrientationClick)), "Splitter"));
actions.Add(new DesignerActionPropertyItem("SeparatorStyle", "Separator style", "Splitter", "Separator style"));
actions.Add(new DesignerActionHeaderItem("Visuals"));
actions.Add(new DesignerActionPropertyItem("PaletteMode", "Palette", "Visuals", "Palette applied to drawing"));
}
return actions;
}