Пример #1
0
        /// <param name="ownerPanel">RibbonPanel where this item is located</param>
        internal override void SetOwnerPanel(Nikita.WinForm.ExtendControl.RibbonPanel ownerPanel)
        {
            base.SetOwnerPanel(ownerPanel);

            Items.SetOwnerPanel(ownerPanel);
        }
Пример #2
0
 /// <summary>
 /// Inserts the specified panel at the desired index
 /// </summary>
 /// <param name="index">Desired index to insert the panel</param>
 /// <param name="item">Panel to insert</param>
 public new void Insert(int index, Nikita.WinForm.ExtendControl.RibbonPanel item)
 {
     item.SetOwner(Owner);
     item.SetOwnerTab(OwnerTab);
     base.Insert(index, item);
 }