public CustomStackedItem CreateSplitButton(CustomPanel panel, string name, string text, Action <CustomSplitButton> action) { var spl = new CustomSplitButton(panel, name, text); action?.Invoke(spl); Items.Add(spl); return(this); }
public CustomSplitButton(CustomPanel panel, string name, string text) { this.panel = panel; this.name = name; this.text = text; }
public CustomStackedItem(CustomPanel panel) { _panel = panel; _items = new List <CustomPushButton>(3); }
//Given a input panel public CustomStackedItem(CustomPanel panel) { this._panel = panel; Items = new List <CustomRibbonItem>(); }