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);
        }
Example #2
0
 public CustomSplitButton(CustomPanel panel, string name, string text)
 {
     this.panel = panel;
     this.name  = name;
     this.text  = text;
 }
Example #3
0
 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>();
 }