示例#1
0
        public RibbonTab()
        {
            _panels = new RibbonPanelCollection(this);

            //Initialize the ToolTip for this Item
            _TT = new RibbonToolTip(this);
            _TT.InitialDelay   = 100;
            _TT.AutomaticDelay = 800;
            _TT.AutoPopDelay   = 8000;
            _TT.UseAnimation   = true;
            _TT.Active         = false;
            _TT.Popup         += new PopupEventHandler(_TT_Popup);
        }
        public RibbonTab()
        {
            Panels   = new RibbonPanelCollection(this);
            _enabled = true;

            //Initialize the ToolTip for this Item
            _TT = new RibbonToolTip(this)
            {
                InitialDelay   = 100,
                AutomaticDelay = 800,
                AutoPopDelay   = 8000,
                UseAnimation   = true,
                Active         = false
            };
            _TT.Popup += _TT_Popup;
        }
示例#3
0
 /// <summary>
 /// Creates a new RibbonTab
 /// </summary>
 public RibbonTab(Ribbon owner, string text)
 {
     _panels = new RibbonPanelCollection(owner, this);
     _text   = text;
 }
示例#4
0
 public RibbonTab()
 {
     _panels = new RibbonPanelCollection(this);
 }