Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public CustomSplitButton(CustomPanel panel, string name, string text)
 {
     this.panel = panel;
     this.name  = name;
     this.text  = text;
 }
Ejemplo n.º 3
0
 public CustomStackedItem(CustomPanel panel)
 {
     _panel = panel;
     _items = new List <CustomPushButton>(3);
 }
Ejemplo n.º 4
0
 //Given a input panel
 public CustomStackedItem(CustomPanel panel)
 {
     this._panel = panel;
     Items       = new List <CustomRibbonItem>();
 }